using RIZO.Model.MES.recipe.Dto; using MDM.Models.Process; using MDM.Models.Process.Dto; using System.ComponentModel.DataAnnotations; namespace MDM.Model.Process.Dto { /// /// 工序查询对象 /// public class ProcessOperationQueryDto : PagerInfo { public string? FkRoutingCode { get; set; } public string? OperationCode { get; set; } public string? OperationName { get; set; } public string? ParallelGroupCode { get; set; } } public class ProcessOperationQuery2Dto : PagerInfo { public string? FkRoutingCode { get; set; } public string? OperationCode { get; set; } } /// /// 工序输入输出对象 /// public class ProcessOperationDto { [Required(ErrorMessage = "工序id不能为空")] public int OperationId { get; set; } public string FkRoutingCode { get; set; } [Required(ErrorMessage = "工序code不能为空")] public string? OperationCode { get; set; } public string? OperationName { get; set; } public int? OperationSeq { get; set; } public int? LastOperationSeq { get; set; } public string? OperationType { get; set; } public string? Description { get; set; } public int? StandardTime { get; set; } public int? MaxStationCount { get; set; } public string? ControlStrategy { get; set; } public int IsSkippable { get; set; } public int IsReworkable { get; set; } public int IsParallel { get; set; } public string? ParallelGroupCode { get; set; } public string? DefaultNextOperationCode { get; set; } public int? Status { get; set; } public string? CreatedBy { get; set; } public DateTime? CreatedTime { get; set; } public string? UpdatedBy { get; set; } public DateTime? UpdatedTime { get; set; } } /// /// 工序详情 /// public class ProcessOperationInfoDto : ProcessOperationDto { /// /// 关联的流程 /// public List OperationFlows { set; get; } /// /// 关联的配方及其配方参数 /// public List OperationRecipeParameters { set; get; } /// /// 关联的采集参数 /// public List ProcessOperationCollectParameters { set; get; } /// /// 关联的物料参数 /// public List ProcessOperationFlowMaterialParamters { set; get; } } }