namespace RIZO.Model.MES.recipe
{
///
/// 配方版本控制表
///
[SugarTable("pf_recipe_version")]
public class PfRecipeVersion
{
///
/// Id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 关联 pf_line_product_info.recipe_code
///
[SugarColumn(ColumnName = "recipe_code")]
public string RecipeCode { get; set; }
///
/// 版本号,如 V1.0
///
public string Version { get; set; }
///
/// 状态(0作废,1生效)
///
public int Status { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "created_by")]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "updated_by")]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
[SugarColumn(ColumnName = "sequence")]
public int Sequence { get; set; }
}
}