zhuangpei-mesbackend/MDM/Models/Process/Dto/ProcessOperationDto.cs
gcw_MV9p2JJN a293df3710 1
2025-11-19 11:49:05 +08:00

67 lines
1.6 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
/// <summary>
/// 工序查询对象
/// </summary>
public class ProcessOperationQueryDto : PagerInfo
{
public string FkRoutingCode { get; set; }
public string OperationCode { get; set; }
public string OperationName { get; set; }
public string ParallelGroupCode { get; set; }
}
/// <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; }
public string IsSkippable { get; set; }
public string IsReworkable { get; set; }
public string 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; }
}
}