using System;
using System.Data;
namespace EC.Entity.Transport
{
///
/// 供应商
///
[TableName("aw_supplier")]
public class SupplierEntity
{
#region Attr
///
/// 主键
/// AutoInc
/// PK
///
[TableKey("key")]
public int Id { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 负责人
///
public string Manager { get; set; }
///
/// 固定电话
///
public string FixedPhone { get; set; }
///
/// 移动电话
///
public string MobilePhone { get; set; }
///
/// 邮箱
///
public string Email { get; set; }
///
/// 地址
///
public string Address { 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 扩展操作
}
}