xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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 lombok.Data;
 
import java.util.Date;
 
/**
* 商家
* @author pzb
* @Date 2022/2/8 10:39
*/
@Data
@TableName("t_merchant")
public class Merchant {
    //主键
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    //用户类型(1=用户,2=司机)
    @TableField("userType")
    private Integer userType;
    //用户id
    @TableField("userId")
    private Integer userId;
    //商家名称
    @TableField("name")
    private String name;
    //头像
    @TableField("headImg")
    private String headImg;
    //联系人姓名
    @TableField("contactName")
    private String contactName;
    //联系人电话
    @TableField("contactPhone")
    private String contactPhone;
    //详细地址
    @TableField("address")
    private String address;
    //营业执照
    @TableField("businessLicense")
    private String businessLicense;
    //审核状态(1=待审核,2=已同意,3=已拒绝)
    @TableField("auditStatus")
    private Integer auditStatus;
    //审核注释
    @TableField("auditNote")
    private String auditNote;
    //审核时间
    @TableField("auditTime")
    private Date auditTime;
    //审核用户id
    @TableField("auditUserId")
    private Integer auditUserId;
    //状态(1=正常,2=冻结,3=删除)
    @TableField("state")
    private Integer state;
    //添加时间
    @TableField("createTime")
    private Date createTime;
}