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

48 lines
1.1 KiB
C#
Raw Normal View History

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 ProcessOperationReworkRuleQueryDto : PagerInfo
{
2025-11-18 14:49:40 +08:00
public string FkRoutingCode { get; set; }
public string FkOperationCode { get; set; }
2025-11-15 14:33:00 +08:00
}
/// <summary>
/// 工序返工规则输入输出对象
/// </summary>
public class ProcessOperationReworkRuleDto
{
[Required(ErrorMessage = "id不能为空")]
public int ReworkRuleId { get; set; }
public string FkRoutingCode { get; set; }
public string FkOperationCode { get; set; }
public string IsReworkAllowed { get; set; }
public int? MaxReworkTimes { get; set; }
public string ReworkTargetOperationCode { get; set; }
public string ReworkCondition { get; set; }
public string Description { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}