2025-12-05 11:41:06 +08:00
|
|
|
|
|
|
|
|
|
|
namespace DOAN.Model.MES.recipe
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 配方版本控制表
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("pf_recipe_version")]
|
|
|
|
|
|
public class PfRecipeVersion
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Id
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 关联 pf_line_product_info.recipe_code
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "recipe_code")]
|
|
|
|
|
|
public string RecipeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 版本号,如 V1.0
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Version { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 状态(0作废,1生效)
|
|
|
|
|
|
/// </summary>
|
2025-12-07 11:34:03 +08:00
|
|
|
|
public int Status { get; set; }
|
2025-12-05 11:41:06 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "created_by")]
|
|
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "created_time")]
|
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "updated_by")]
|
|
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "updated_time")]
|
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
2025-12-07 16:48:42 +08:00
|
|
|
|
[SugarColumn(ColumnName = "sequence")]
|
2025-12-07 17:04:15 +08:00
|
|
|
|
public int Sequence { get; set; }
|
2025-12-05 11:41:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|