You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

161 lines
4.9 KiB

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