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_driver")]
public class DriverEntity
{
#region Attr
///
/// 主键
/// AutoInc
/// PK
///
[TableKey("key")]
public int Id { get; set; }
///
/// 供应商Id
///
public int SupplierId { get; set; }
///
/// 供应商名称
///
public string SupplierName { get; set; }
///
/// 姓名
///
public string Name { get; set; }
///
/// 身份证号
///
public string IdCard { get; set; }
///
/// 电话
///
public string Telephone { get; set; }
///
/// 头像
///
public string Picture { get; set; }
///
/// 指纹1
///
public string Finger1 { get; set; }
///
/// 指纹2
///
public string Finger2 { get; set; }
///
/// 类型
/// 0-司机 1-其他
///
public int Type { 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 扩展操作
///
/// 新增调用
///
public void Create()
{
CreateTime = DateTime.Now;
UpdateTime = CreateTime;
}
///
/// 编辑调用
///
public void Modify()
{
UpdateTime = DateTime.Now;
}
#endregion 扩展操作
}
}