Pu Zhibing
2025-05-09 8580866e175ad0050ee9c5ea3f757856fc242c39
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 平台协议
 */
@TableName("t_invite")
@Data
public class Invite{
 
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    // 邀请人id
    @TableField("inviteUserId")
    private Integer inviteUserId;
    // 被邀请人id
    @TableField("userId")
    private Integer userId;
    /**
     * 添加时间
     */
    @TableField("registerTime")
    @ApiModelProperty("注册时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date registerTime;
    /**
     * 使用范围(1=用户,2=司机)
     */
    @TableField("userType")
    private Integer userType;
 
    @TableField(exist = false)
    @ApiModelProperty("头像")
    private String avatar;
 
    @ApiModelProperty("手机号")
    @TableField(exist = false)
    private String phone;
}