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