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.
113 lines
1.9 KiB
113 lines
1.9 KiB
3 years ago
|
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
|
||
|
|
||
|
/// <summary>
|
||
|
/// 主键
|
||
|
/// AutoInc
|
||
|
/// PK
|
||
|
/// </summary>
|
||
|
[TableKey("key")]
|
||
|
public int Id { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 供应商Id
|
||
|
/// </summary>
|
||
|
public int SupplierId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 供应商名称
|
||
|
/// </summary>
|
||
|
public string SupplierName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 运输员Id
|
||
|
/// </summary>
|
||
|
public int DriverId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 运输员名称
|
||
|
/// </summary>
|
||
|
public string DriverName { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 运输车Id
|
||
|
/// </summary>
|
||
|
public int TruckId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 运输车车牌
|
||
|
/// </summary>
|
||
|
public string TruckPlate { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 状态
|
||
|
/// 1-使用 0-停用
|
||
|
/// </summary>
|
||
|
public bool IsWork { 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 Extend
|
||
|
|
||
|
/// <summary>
|
||
|
/// 新增调用
|
||
|
/// </summary>
|
||
|
public void Create()
|
||
|
{
|
||
|
CreateTime = DateTime.Now;
|
||
|
UpdateTime = CreateTime;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 编辑调用
|
||
|
/// </summary>
|
||
|
public void Modify()
|
||
|
{
|
||
|
UpdateTime = DateTime.Now;
|
||
|
}
|
||
|
|
||
|
#endregion Extend
|
||
|
}
|
||
|
}
|