feixian_weifajianguan/OpenAuth.Repository/Domain/MiVehicle.cs

83 lines
1.9 KiB
C#

using SqlSugar;
using System;
using System.Linq;
using System.Text;
namespace OpenAuth.Repository.Domain
{
///<summary>
///车辆信息表
///</summary>
[SugarTable("mi_vehicle")]
public partial class MiVehicle
{
public MiVehicle()
{
}
/// <summary>
/// Desc:车辆ID
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; }
/// <summary>
/// Desc:牌照/编号
/// Default:
/// Nullable:False
/// </summary>
public string LicensePlate { get; set; }
/// <summary>
/// Desc:类型
/// Default:
/// Nullable:True
/// </summary>
public string Type { get; set; }
/// <summary>
/// Desc:姓名
/// Default:
/// Nullable:True
/// </summary>
public string Name { get; set; }
/// <summary>
/// Desc:身份证号
/// Default:
/// Nullable:True
/// </summary>
public string IdCard { get; set; }
/// <summary>
/// Desc:电话
/// Default:
/// Nullable:True
/// </summary>
public string Phone { get; set; }
/// <summary>
/// Desc:违法上报信息id
/// Default:
/// Nullable:True
/// </summary>
public string ViolationReportId { get; set; }
/// <summary>
/// Desc:创建时间
/// Default:DateTime.Now
/// Nullable:True
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 导航属性
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(MiVehicleImage.VehicleId))]
public List<MiVehicleImage> MiVehicleImages { get; set; }
}
}