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

60 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace RIZO.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",Length =50)]
public string RecipeCode { get; set; }
/// <summary>
/// 版本号,如 V1.0
/// </summary>
[SugarColumn( Length = 50)]
public string Version { get; set; }
/// <summary>
/// 状态0作废1生效
/// </summary>
public int Status { 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; }
[SugarColumn(ColumnName = "sequence")]
public int Sequence { get; set; }
}
}