namespace RIZO.Model.MES.recipe
{
///
/// 配方模板表
///
[SugarTable("pf_recipe_template", "配方模板表")]
public class PfRecipeTemplate
{
///
/// 主键ID
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 参数名称,如直径、圆度
///
[SugarColumn(ColumnName = "param_name", Length = 50)]
public string ParamName { get; set; }
///
/// 单位,如 mm、μm
///
[SugarColumn(Length = 50)]
public string Unit { get; set; }
///
/// 上限值
///
[SugarColumn(ColumnName = "upper_limit", DecimalDigits = 2)]
public decimal UpperLimit { get; set; }
///
/// 下限值
///
[SugarColumn(ColumnName = "lower_limit", DecimalDigits = 2)]
public decimal LowerLimit { get; set; }
///
/// 标准值
///
[SugarColumn(ColumnName = "standard_value", DecimalDigits = 2)]
public int StandardValue { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "created_by", Length = 50)]
public string CreatedBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnName = "updated_by", Length = 50)]
public string UpdatedBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "updated_time")]
public DateTime? UpdatedTime { get; set; }
[SugarColumn(ColumnName = "sequence")]
public int Sequence { get; set; }
[SugarColumn(ColumnName = "ifcheck")]
public int Ifcheck { get; set; }
}
}