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.

93 lines
1.5 KiB

3 years ago
using System;
using System.Data;
/*******************************************************/
/*Project:
Module :
Description :
Date : 2020/11/2 16:39:30
Create : Lxc
Update :
TODO : */
/*******************************************************/
namespace EC.Entity.Transport
{
/// <summary>
/// 汽车
/// </summary>
[TableName("aw_Trailer")]
public class TrailerEntity
{
#region Attr
/// <summary>
/// 主键
/// </summary>
[TableKey("key")]
public int Id { get; set; }
/// <summary>
/// 车牌号
/// </summary>
public string LicensePlate { get; set; }
/// <summary>
/// 供应商Id
/// </summary>
public int SupplierId { get; set; }
/// <summary>
/// 供应商名称
/// </summary>
public string SupplierName { get; set; }
/// <summary>
/// 创建人
/// </summary>
public string CreateMan { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public string UpdateMan { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime UpdateTime { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
#endregion Attr
#region 扩展操作
/// <summary>
/// 新增调用
/// </summary>
public void Create()
{
CreateTime = DateTime.Now;
UpdateTime = CreateTime;
}
/// <summary>
/// 编辑调用
/// </summary>
public void Modify()
{
UpdateTime = DateTime.Now;
}
#endregion 扩展操作
}
}