zhuangpei-mesbackend/MDM/Models/Process/Dto/ProcessOperationDto.cs

107 lines
2.6 KiB
C#
Raw Normal View History

2025-12-29 16:58:36 +08:00
using DOAN.Model.MES.recipe.Dto;
using MDM.Models.Process;
2025-12-31 18:37:16 +08:00
using MDM.Models.Process.Dto;
2025-11-15 14:33:00 +08:00
using System.ComponentModel.DataAnnotations;
2025-11-16 15:16:51 +08:00
namespace MDM.Model.Process.Dto
2025-11-15 14:33:00 +08:00
{
/// <summary>
/// 工序查询对象
/// </summary>
public class ProcessOperationQueryDto : PagerInfo
{
2025-11-22 18:19:02 +08:00
public string? FkRoutingCode { get; set; }
public string? OperationCode { get; set; }
2025-11-18 14:49:40 +08:00
2025-11-22 18:19:02 +08:00
public string? OperationName { get; set; }
2025-11-18 14:49:40 +08:00
2025-11-22 18:19:02 +08:00
public string? ParallelGroupCode { get; set; }
2025-11-18 14:49:40 +08:00
2025-12-31 20:17:18 +08:00
}
public class ProcessOperationQuery2Dto : PagerInfo
{
public string? FkRoutingCode { get; set; }
public string? OperationCode { get; set; }
2025-11-15 14:33:00 +08:00
}
/// <summary>
/// 工序输入输出对象
/// </summary>
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 string OperationType { get; set; }
public string Description { get; set; }
public int? StandardTime { get; set; }
public string ControlStrategy { get; set; }
2026-01-06 20:06:52 +08:00
public int IsSkippable { get; set; }
2025-11-15 14:33:00 +08:00
2026-01-06 20:06:52 +08:00
public int IsReworkable { get; set; }
2025-11-15 14:33:00 +08:00
2026-01-06 20:06:52 +08:00
public int IsParallel { get; set; }
2025-11-15 14:33:00 +08:00
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; }
}
2025-12-29 16:58:36 +08:00
/// <summary>
/// 工序详情
/// </summary>
public class ProcessOperationInfoDto : ProcessOperationDto
{
/// <summary>
/// 关联的流程
/// </summary>
2025-12-31 11:45:08 +08:00
public List<ProcessOperationFlow> OperationFlows { set; get; }
2025-12-29 16:58:36 +08:00
/// <summary>
/// 关联的配方及其配方参数
/// </summary>
2025-12-31 11:45:08 +08:00
public List<PfRecipeParametersDto> OperationRecipeParameters { set; get; }
2025-12-29 16:58:36 +08:00
2025-12-29 19:34:29 +08:00
/// <summary>
/// 关联的采集参数
/// </summary>
2025-12-31 11:45:08 +08:00
public List<ProcessOperationCollectParameter> ProcessOperationCollectParameters { set; get; }
2025-12-29 16:58:36 +08:00
2025-12-31 18:37:16 +08:00
/// <summary>
/// 关联的物料参数
/// </summary>
public List<ProcessOperationFlowMaterialParamter> ProcessOperationFlowMaterialParamters { set; get; }
2025-12-29 16:58:36 +08:00
}
2025-11-15 14:33:00 +08:00
}