92 lines
2.5 KiB
C#
92 lines
2.5 KiB
C#
|
|
namespace RIZO.Model.MES.recipe
|
|
{
|
|
/// <summary>
|
|
/// 配方参数明细表
|
|
/// </summary>
|
|
[SugarTable("pf_recipe_parameters", "配方参数明细表")]
|
|
public class PfRecipeParameters
|
|
{
|
|
/// <summary>
|
|
/// ParamId
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")]
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 外键,关联 pf_recipe_version.recipe_code_v2
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "recipe_code",Length =50)]
|
|
public string RecipeCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 参数名称,如直径、圆度
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "param_name", Length = 50)]
|
|
public string ParamName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 版本号
|
|
/// </summary>
|
|
[SugarColumn( Length = 50)]
|
|
public string Version { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位,如 mm、μm
|
|
/// </summary>
|
|
[SugarColumn(Length = 50)]
|
|
public string Unit { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上限值
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "upper_limit")]
|
|
public decimal UpperLimit { get; set; }
|
|
|
|
/// <summary>
|
|
/// 下限值
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "lower_limit")]
|
|
public decimal LowerLimit { get; set; }
|
|
|
|
/// <summary>
|
|
/// 标准值(名义值)
|
|
/// </summary>
|
|
[SugarColumn(ColumnName = "standard_value",Length =50)]
|
|
public string StandardValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn( Length = 50)]
|
|
public string Remark { 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 = "ifcheck")]
|
|
public int Ifcheck { get; set; }
|
|
|
|
}
|
|
} |