2026-01-16 10:41:38 +08:00

92 lines
2.4 KiB
C#

namespace MDM.Model.Process
{
/// <summary>
/// 工艺路线
/// </summary>
[SugarTable("process_routing", "工艺路线")]
public class ProcessRouting
{
/// <summary>
/// id
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "routing_id")]
public int RoutingId { get; set; }
/// <summary>
/// 产成品code
/// </summary>
[SugarColumn(ColumnName = "fk_product_material_code",Length =50)]
public string FkProductMaterialCode { get; set; }
/// <summary>
/// 产成品name
/// </summary>
[SugarColumn(ColumnName = "product_name", Length = 50)]
public string ProductMaterialName { get; set; }
/// <summary>
/// 工艺路线code
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "routing_code",Length =50)]
public string RoutingCode { get; set; }
/// <summary>
/// 工艺路线name
/// </summary>
[SugarColumn(ColumnName = "routing_name",Length =50)]
public string RoutingName { get; set; }
/// <summary>
/// 版本号
/// </summary>
public int? Version { get; set; }
/// <summary>
/// 描述
/// </summary>
[SugarColumn(Length = 50)]
public string Description { get; set; }
/// <summary>
/// 状态
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 生效日期时间
/// </summary>
[SugarColumn(ColumnName = "effective_date")]
public DateTime? EffectiveDate { get; set; }
/// <summary>
/// 创建人
/// </summary>
[SugarColumn(ColumnName = "cREATED_BY",Length =50)]
public string CreatedBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "cREATED_TIME")]
public DateTime? CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
[SugarColumn(ColumnName = "uPDATED_BY", Length = 50)]
public string UpdatedBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
[SugarColumn(ColumnName = "uPDATED_TIME")]
public DateTime? UpdatedTime { get; set; }
}
}