namespace MDM.Model.Process
{
///
/// 工艺路线
///
[SugarTable("process_routing", "工艺路线")]
public class ProcessRouting
{
///
/// id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "routing_id")]
public int RoutingId { get; set; }
///
/// 产成品code
///
[SugarColumn(ColumnName = "fk_product_material_code",Length =50)]
public string FkProductMaterialCode { get; set; }
///
/// 产成品name
///
[SugarColumn(ColumnName = "product_name", Length = 50)]
public string ProductMaterialName { get; set; }
///
/// 工艺路线code
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "routing_code",Length =50)]
public string RoutingCode { get; set; }
///
/// 工艺路线name
///
[SugarColumn(ColumnName = "routing_name",Length =50)]
public string RoutingName { get; set; }
///
/// 版本号
///
public int? Version { get; set; }
///
/// 描述
///
[SugarColumn(Length = 50)]
public string Description { get; set; }
///
/// 状态
///
public int? Status { get; set; }
///
/// 生效日期时间
///
[SugarColumn(ColumnName = "effective_date")]
public DateTime? EffectiveDate { 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; }
}
}