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;
|
}
|