|
|
|
|
using Common.Enum;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Entity.DbModel.System.App;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// App用户表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("app_customer")]
|
|
|
|
|
public class AppCustomer
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自增
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "id", ColumnDescription = "主键Id", IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public virtual long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 登录号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "login_no", ColumnDescription = "登录号码", Length = 20)]
|
|
|
|
|
public virtual string LoginNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车队ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "team_id", ColumnDescription = "车队ID")]
|
|
|
|
|
public virtual long? TeamId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 登录方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "login_type", ColumnDescription = "登录方式")]
|
|
|
|
|
public virtual byte? LoginType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 登录密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "login_psd", ColumnDescription = "登录密码", Length = 60)]
|
|
|
|
|
public virtual string? LoginPsd { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否是会员
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "is_member", ColumnDescription = "是否是会员")]
|
|
|
|
|
public virtual byte? IsMember { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户昵称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "nick_name", ColumnDescription = "用户昵称", Length = 20)]
|
|
|
|
|
public virtual string NickName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "user_name", ColumnDescription = "姓名", Length = 30)]
|
|
|
|
|
public virtual string? UserName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户头像URL
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "user_avatar", ColumnDescription = "用户头像URL", Length = 255)]
|
|
|
|
|
public virtual string? UserAvatar { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 性别
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "gender", ColumnDescription = "性别")]
|
|
|
|
|
public virtual byte? Gender { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 身份证号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "identify_code", ColumnDescription = "身份证号码", Length = 30)]
|
|
|
|
|
public virtual string? IdentifyCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 手机号码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "iphone_no", ColumnDescription = "手机号码", Length = 15)]
|
|
|
|
|
public virtual string? IphoneNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "email", ColumnDescription = "邮箱", Length = 100)]
|
|
|
|
|
public virtual string? Email { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 家庭住址
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "home_addr", ColumnDescription = "家庭住址", Length = 100)]
|
|
|
|
|
public virtual string? HomeAddr { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 车牌号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "car_no", ColumnDescription = "车牌号", Length = 20)]
|
|
|
|
|
public virtual string? CarNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 使用状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "state", ColumnDescription = "使用状态")]
|
|
|
|
|
public StatusEnum State { get; set; } = StatusEnum.Enable;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 注册平台
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "register_plat", ColumnDescription = "注册平台")]
|
|
|
|
|
public virtual byte? RegisterPlat { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支付宝userid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "user_id", ColumnDescription = "支付宝userid", Length = 100)]
|
|
|
|
|
public virtual string? UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 微信openid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "open_id", ColumnDescription = "微信openid", Length = 100)]
|
|
|
|
|
public virtual string? OpenId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// unionid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "union_id", ColumnDescription = "unionid", Length = 100)]
|
|
|
|
|
public virtual string? UnionId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公众号openid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "wx_open_id", ColumnDescription = "公众号openid", Length = 100)]
|
|
|
|
|
public virtual string? WxOpenId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出生日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "birthday", ColumnDescription = "出生日期", Length = 50)]
|
|
|
|
|
public virtual string? Birthday { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核进度
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "audit_state", ColumnDescription = "审核进度")]
|
|
|
|
|
public virtual byte? AuditState { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "created_by", ColumnDescription = "创建人", Length = 32)]
|
|
|
|
|
public virtual string? CreatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "created_time", ColumnDescription = "创建时间")]
|
|
|
|
|
public virtual DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "updated_by", ColumnDescription = "更新人", Length = 32)]
|
|
|
|
|
public virtual string? UpdatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "updated_time", ColumnDescription = "更新时间")]
|
|
|
|
|
public virtual DateTime? UpdatedTime { get; set; }
|
|
|
|
|
}
|