using SqlSugar; namespace Entity.DbModel.System.App; /// /// 客户车辆表 /// [SugarTable("app_customer_vehicle")] public class AppCustomerVehicle { /// /// 自增 /// [SugarColumn(ColumnName = "id", ColumnDescription = "主键Id", IsPrimaryKey = true, IsIdentity = true)] public virtual long Id { get; set; } /// /// 客户id /// [SugarColumn(ColumnName = "customer_id", ColumnDescription = "客户id")] public virtual long? CustomerId { get; set; } /// /// 用户名 /// [SugarColumn(ColumnName = "user_name", ColumnDescription = "用户名")] public virtual string UserName { get; set; } /// /// 手机号 /// [SugarColumn(ColumnName = "phone", ColumnDescription = "手机号")] public virtual string? Phone { get; set; } /// /// 车队id /// [SugarColumn(ColumnName = "team_id", ColumnDescription = "车队id")] public virtual long? TeamId { get; set; } /// /// 车辆id /// [SugarColumn(ColumnName = "car_id", ColumnDescription = "车辆id")] public virtual long? CarId { get; set; } /// /// 车牌号 /// [SugarColumn(ColumnName = "car_no", ColumnDescription = "车牌号")] public virtual string CarNo { get; set; } /// /// VIN码 /// [SugarColumn(ColumnName = "vin", ColumnDescription = "VIN码")] public virtual string Vin { get; set; } /// /// MAC地址 /// [SugarColumn(ColumnName = "mac", ColumnDescription = "MAC地址")] public virtual string? Mac { get; set; } /// /// 发动机编号 /// [SugarColumn(ColumnName = "engine_no", ColumnDescription = "发动机编号")] public virtual string? EngineNo { get; set; } /// /// 行驶证图片 /// [SugarColumn(ColumnName = "vehicle_license", ColumnDescription = "行驶证图片")] public virtual string VehicleLicense { get; set; } /// /// 驾驶证图片 /// [SugarColumn(ColumnName = "driver_license", ColumnDescription = "驾驶证图片")] public virtual string DriverLicense { get; set; } /// /// 身份证人像面 /// [SugarColumn(ColumnName = "id_front", ColumnDescription = "身份证人像面")] public virtual string IdFront { get; set; } /// /// 身份证国徽面 /// [SugarColumn(ColumnName = "id_back", ColumnDescription = "身份证国徽面")] public virtual string IdBack { get; set; } /// /// 申请认证时间 /// [SugarColumn(ColumnName = "apply_time", ColumnDescription = "申请认证时间")] public virtual DateTime? ApplyTime { get; set; } /// /// 审核状态 /// 0:未审核;1:通过审核;2:审核拒绝 /// [SugarColumn(ColumnName = "audit_status", ColumnDescription = "审核状态")] public virtual int? AuditStatus { get; set; } /// /// 申请原因 /// [SugarColumn(ColumnName = "audit_reason", ColumnDescription = "申请原因")] public virtual string? AuditReason { get; set; } /// /// 是否默认扣费账户 /// [SugarColumn(ColumnName = "is_default", ColumnDescription = "是否默认扣费账户")] public virtual int? IsDefault { get; set; } = 0; /// /// 审核id /// [SugarColumn(ColumnName = "audit_id", ColumnDescription = "审核id")] public virtual long? AuditId { get; set; } /// /// 审核人 /// [SugarColumn(ColumnName = "audit_name", ColumnDescription = "审核人")] public virtual string? AuditName { get; set; } /// /// 审核时间 /// [SugarColumn(ColumnName = "audit_time", ColumnDescription = "审核时间")] public virtual DateTime? AuditTime { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "created_by", ColumnDescription = "创建人")] public virtual string? CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time", ColumnDescription = "创建时间")] public virtual DateTime? CreatedTime { get; set; } = DateTime.Now; /// /// 更新人 /// [SugarColumn(ColumnName = "updated_by", ColumnDescription = "更新人")] public virtual string? UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_time", ColumnDescription = "更新时间")] public virtual DateTime? UpdatedTime { get; set; } = DateTime.Now; }