package com.supersavedriving.user.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;
|
|
/**
|
* 用户
|
*/
|
@Data
|
@TableName("t_app_user")
|
public class AppUser {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 昵称
|
*/
|
@TableField("nickname")
|
private String nickname;
|
/**
|
* 电话
|
*/
|
@TableField("phone")
|
private String phone;
|
/**
|
* 性别(1=男,2=女)
|
*/
|
@TableField("sex")
|
private Integer sex;
|
/**
|
* 头像
|
*/
|
@TableField("avatar")
|
private String avatar;
|
/**
|
* 微信openid
|
*/
|
@TableField("openid")
|
private String openid;
|
/**
|
* 微信unionid
|
*/
|
@TableField("unionid")
|
private String unionid;
|
/**
|
* 紧急联系人
|
*/
|
@TableField("emergencyContact")
|
private String emergencyContact;
|
/**
|
* 紧急联系人电话
|
*/
|
@TableField("emergencyPhone")
|
private String emergencyPhone;
|
/**
|
* 账户余额
|
*/
|
@TableField("accountBalance")
|
private Double accountBalance;
|
/**
|
* 用户标签id
|
*/
|
@TableField("userTagId")
|
private Integer userTagId;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("status")
|
private Integer status;
|
/**
|
* 添加时间
|
*/
|
@TableField("createTime")
|
private Date createTime;
|
/**
|
* 是否异常 1正常 2异常
|
*/
|
@TableField("is_exception")
|
private Integer isException;
|
/**
|
* 启动冻结理由
|
*/
|
@TableField("remark")
|
private String remark;
|
/**
|
* 邀约人类型(1=用户,2=司机)
|
*/
|
@TableField("inviterType")
|
private Integer inviterType;
|
/**
|
* 邀约人id
|
*/
|
@TableField("inviterId")
|
private Integer inviterId;
|
/**
|
* 取消订单次数,取消一次加一,若成功接单清零
|
*/
|
@TableField("cancelCount")
|
private Integer cancelCount;
|
/**
|
* 是否拥有9.5折优惠 1是 0否
|
*/
|
@TableField("havDiscount")
|
private Integer havDiscount;
|
}
|