namespace MDM.Model.Plant
{
///
/// 工厂/站点
///
[SugarTable("plant_factory_site" , "工厂/站点")]
public class PlantFactorySite
{
///
/// 工厂id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "site_id")]
public int SiteId { get; set; }
///
/// 工厂code
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "site_code",Length =50)]
public string SiteCode { get; set; }
///
/// 工厂name
///
[SugarColumn(ColumnName = "site_name",Length =50)]
public string SiteName { get; set; }
///
/// 类型
///
[SugarColumn(ColumnName = "site_type", Length = 50)]
public string SiteType { get; set; }
///
/// 描述
///
[SugarColumn(Length = 50)]
public string Description { get; set; }
///
/// 地址
///
[SugarColumn(Length = 50)]
public string Address { get; set; }
///
/// 状态
///
public int? Status { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "cREATED_BY", Length = 50)]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "uPDATED_BY",Length =50)]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}