xiaoyong931011
2021-12-22 ab7a2f143723c84704fcf413678ab79ec7ffe66e
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
package cc.mrbird.febs.video.entity;
 
import cc.mrbird.febs.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.type.Date;
import lombok.Data;
 
@Data
@TableName("video_member")
public class VideoMemberEntity extends BaseEntity {
 
    /**
     * 账号
     */
    private String account;
 
    /**
     * 密码
     */
    private String password;
 
    /**
     * 昵称
     */
    private String name;
 
    /**
     * 头像
     */
    private String avatar;
 
    /**
     * 手机号
     */
    private String phone;
 
    /**
     * 邮箱
     */
    private String email;
 
    /**
     * 邀请码
     */
    private String inviteId;
 
    /**
     * 父级邀请码
     */
    private String refererId;
 
    /**
     * 父级邀请码链
     */
    private String refererIds;
 
    /**
     * 是否会员 1/是 2/否
     */
    private Integer isVip;
 
    /**
     * 是
     */
    public static final Integer ISVIP_STATUS_YES = 1;
    /**
     * 否
     */
    public static final Integer ISVIP_STATUS_NO = 2;
 
    /**
     * 账号状态 1/正常 2/禁用
     */
    private Integer accountStatus;
    /**
     * 启用
     */
    public static final Integer ACCOUNT_STATUS_ENABLE = 1;
    /**
     * 禁用
     */
    public static final Integer ACCOUNT_STATUS_DISABLED = 2;
 
    /**
     * 账号类型 1/正常 2/测试
     */
    private Integer accountType;
 
    /**
     * 正常账号
     */
    public static final Integer ACCOUNT_TYPE_NORMAL = 1;
    /**
     * 测试账号
     */
    public static final Integer ACCOUNT_TYPE_TEST = 2;
 
    @TableField(exist = false)
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date buyTime;
 
    @TableField(exist = false)
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expireTime;
}