package cn.mb.cloud.auth.security.entity;
import cn.mb.cloud.common.data.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
/**
*
* 用户
*
*
* @author null123
* @since 2022-05-16
*/
@Data
@TableName("dsh_user")
public class User extends BaseEntity {
private static final long serialVersionUID = 2797893953874101043L;
/**
* 姓名
*/
private String name;
/**
* 手机号
*/
private String username;
/**
* 密码
*/
private String password;
/**
* 性别 1男 2女 0未设置
*/
private Integer gender;
/**
* 余额
*/
private BigDecimal balance;
/**
* 积分
*/
private Integer integral;
/**
* 出生日期 yyyy-MM-dd
*/
private String birthday;
/**
* 来源
*/
private String source;
/**
* 身份证
*/
@TableField("id_card")
private String idCard;
/**
* 医保号
*/
@TableField("health_care_number")
private String healthCareNumber;
/**
* 档案号
*/
@TableField("archives_number")
private String archivesNumber;
/**
* 婚否 0:否 1:是 默认0
*/
@TableField("marital_status")
private Boolean maritalStatus;
/**
* 体重
*/
private String weight;
/**
* 职业
*/
private String occupation;
/**
* 家庭住址
*/
@TableField("family_address")
private String familyAddress;
/**
* 单位
*/
private String company;
/**
* 既往史
*/
@TableField("past_history")
private String pastHistory;
/**
* 累计消费
*/
@TableField("total_consume")
private BigDecimal totalConsume;
/**
* 最近到店日期 yyyy-MM-dd
*/
@TableField("recently_store_date")
private String recentlyStoreDate;
/**
* 最近到店ID
*/
@TableField("recently_store_id")
private Long recentlyStoreId;
/**
* 最近到店名称
*/
@TableField("recently_store_name")
private String recentlyStoreName;
/**
* 微信ID
*/
@TableField("open_id")
private String openId;
/**
* 头像
*/
private String avatar;
/**
* 是否锁定 0:正常 9:锁定
*/
@TableField("lock_flag")
private String lockFlag;
/**
* 注册类型 0:已注册用户 1:未注册用户 2:家庭成员
*/
@TableField("register_type")
private Integer registerType;
@TableField("wechat_name")
private String wechatName;
}