namespace MDM.Model.Plant
{
///
/// 产线/线体/工作中心
///
[SugarTable("plant_productlinebody", "产线/线体/工作中心")]
public class PlantProductlinebody
{
///
/// 产线id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "line_id")]
public int LineId { get; set; }
///
/// fk工厂code
///
[SugarColumn(ColumnName = "fk_factory_site_code",Length =50)]
public string FkFactorySiteCode { get; set; }
///
/// fk车间code
///
[SugarColumn(ColumnName = "fk_workshop_code", Length = 50)]
public string FkWorkshopCode { get; set; }
///
/// 产线code
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "line_code", Length = 50)]
public string LineCode { get; set; }
///
/// 产线name
///
[SugarColumn(ColumnName = "line_name",Length = 50)]
public string LineName { get; set; }
///
/// 产线类别
///
[SugarColumn(ColumnName = "line_type", Length = 50)]
public string LineType { get; set; }
///
/// 描述
///
[SugarColumn( Length = 50)]
public string Description { 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; }
}
}