2026-01-10 13:47:54 +08:00
|
|
|
|
|
|
|
|
|
|
namespace RIZO.Model.MES.recipe
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 配方版本控制表
|
|
|
|
|
|
/// </summary>
|
2026-01-16 10:40:58 +08:00
|
|
|
|
[SugarTable("pf_recipe_version", "配方版本控制表")]
|
2026-01-10 13:47:54 +08:00
|
|
|
|
public class PfRecipeVersion
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 关联 pf_line_product_info.recipe_code
|
|
|
|
|
|
/// </summary>
|
2026-01-16 10:40:58 +08:00
|
|
|
|
[SugarColumn(ColumnName = "recipe_code",Length =50)]
|
2026-01-10 13:47:54 +08:00
|
|
|
|
public string RecipeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 版本号,如 V1.0
|
|
|
|
|
|
/// </summary>
|
2026-01-16 10:40:58 +08:00
|
|
|
|
[SugarColumn( Length = 50)]
|
2026-01-10 13:47:54 +08:00
|
|
|
|
public string Version { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 状态(0作废,1生效)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Status { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
2026-01-16 10:40:58 +08:00
|
|
|
|
[SugarColumn(ColumnName = "created_by", Length = 50)]
|
2026-01-10 13:47:54 +08:00
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "created_time")]
|
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
2026-01-16 10:40:58 +08:00
|
|
|
|
[SugarColumn(ColumnName = "updated_by", Length = 50)]
|
2026-01-10 13:47:54 +08:00
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SugarColumn(ColumnName = "sequence")]
|
|
|
|
|
|
public int Sequence { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|