using System;
using System.Data;
/*******************************************************/
/*Project:
Module :
Description :
Date : 2020/9/16 16:26:37
Create : Lxc
Update :
TODO : */
/*******************************************************/
namespace EC.Entity.Transport
{
[TableName("aw_auth")]
public class AuthEntity
{
#region Attr
///
/// 主键
/// AutoInc
/// PK
///
[TableKey("key")]
public int Id { get; set; }
///
/// 供应商Id
///
public int SupplierId { get; set; }
///
/// 供应商名称
///
public string SupplierName { get; set; }
///
/// 运输员Id
///
public int DriverId { get; set; }
///
/// 运输员名称
///
public string DriverName { get; set; }
///
/// 运输车Id
///
public int TruckId { get; set; }
///
/// 运输车车牌
///
public string TruckPlate { get; set; }
///
/// 状态
/// 1-使用 0-停用
///
public bool IsWork { get; set; }
///
/// 创建人
///
public string CreateMan { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 更新人
///
public string UpdateMan { get; set; }
///
/// 更新时间
///
public DateTime UpdateTime { get; set; }
///
/// 备注
///
public string Remark { get; set; }
#endregion Attr
#region Extend
///
/// 新增调用
///
public void Create()
{
CreateTime = DateTime.Now;
UpdateTime = CreateTime;
}
///
/// 编辑调用
///
public void Modify()
{
UpdateTime = DateTime.Now;
}
#endregion Extend
}
}