using System.ComponentModel.DataAnnotations; namespace MDM.Model.Process.Dto { /// /// 工艺参数表(如温度、压力、时间等,关联工艺路线与工序)查询对象 /// public class ProcessOperationCollectParameterQueryDto : PagerInfo { public string FkRoutingCode { get; set; } public string FkOperationCode { get; set; } public string ParameterCode { get; set; } public string ParameterName { get; set; } } /// /// 工艺参数表(如温度、压力、时间等,关联工艺路线与工序)输入输出对象 /// public class ProcessOperationCollectParameterDto { [Required(ErrorMessage = "工艺参数ID,主键不能为空")] public int Id { get; set; } [Required(ErrorMessage = "所属工艺路线code不能为空")] public string FkRoutingCode { get; set; } [Required(ErrorMessage = "所属工序code不能为空")] public string FkOperationCode { get; set; } [Required(ErrorMessage = "参数名称,如:温度、压力、时间不能为空")] public string ParameterCode { get; set; } public string ParameterName { get; set; } public string Description { get; set; } [Required(ErrorMessage = "数据类型:FLOAT, INT, STRING, BOOL, AI(模拟量输入)等不能为空")] public string DataType { get; set; } public string Unit { get; set; } public decimal StandardValue { get; set; } public decimal MinValue { get; set; } public decimal MaxValue { get; set; } public string IsControlled { get; set; } public string IsMonitored { get; set; } public string ControlType { get; set; } public decimal DefaultValue { get; set; } public string IsRequired { get; set; } public int? Sequence { get; set; } public DateTime? CreatedTime { get; set; } public string CreatedBy { get; set; } public DateTime? UpdatedTime { get; set; } public string UpdatedBy { get; set; } } }