package com.dsh.app.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;
|
|
|
/**
|
* <p>
|
* 用户
|
* </p>
|
*
|
* @author zhao
|
* @since 2022-05-16
|
*/
|
@Data
|
@TableName("dsh_user")
|
public class User extends BaseEntity<User> {
|
|
private static final long serialVersionUID = -3491758539723084720L;
|
|
/**
|
* 姓名
|
*/
|
private String name;
|
/**
|
* 手机号
|
*/
|
private String username;
|
/**
|
* 密码
|
*/
|
private String password;
|
/**
|
* 性别 0男 1女
|
*/
|
private Integer gender;
|
/**
|
* 余额
|
*/
|
private BigDecimal balance = new BigDecimal(0);
|
/**
|
* 积分
|
*/
|
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;
|
|
/**
|
* 年龄
|
*/
|
private Integer age;
|
/**
|
* 月
|
*/
|
private Integer month;
|
|
/**
|
* 天
|
*/
|
private Integer day;
|
|
/**
|
* 注册类型 0:已注册用户 1:未注册用户,2:家庭成员
|
*/
|
@TableField("register_type")
|
private Integer registerType;
|
|
/**
|
* 是否初始化聊天
|
*/
|
@TableField("is_initialize_chat")
|
private Integer isInitializeChat;
|
|
/**
|
* 充值金额
|
*/
|
@TableField("recharge_amount")
|
private Double rechargeAmount=0d;
|
|
/**
|
* 赠送金额
|
*/
|
@TableField("give_amount")
|
private Double giveAmount=0d;
|
|
}
|