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.

126 lines
2.1 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
{
/// <summary>
/// 司机
/// </summary>
[TableName("aw_driver")]
public class DriverEntity
{
#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>
/// 姓名
/// </summary>
public string Name { get; set; }
/// <summary>
/// 身份证号
/// </summary>
public string IdCard { get; set; }
/// <summary>
/// 电话
/// </summary>
public string Telephone { get; set; }
/// <summary>
/// 头像
/// </summary>
public string Picture { get; set; }
/// <summary>
/// 指纹1
/// </summary>
public string Finger1 { get; set; }
/// <summary>
/// 指纹2
/// </summary>
public string Finger2 { get; set; }
/// <summary>
/// 类型
/// 0-司机 1-其他
/// </summary>
public int Type { 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 扩展操作
}
}