Valeo_Line_MES_backend/MDM/Models/Process/Dto/ProcessOperationReworkRuleDto.cs
2026-01-10 13:47:54 +08:00

48 lines
1.1 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
/// <summary>
/// 工序返工规则查询对象
/// </summary>
public class ProcessOperationReworkRuleQueryDto : PagerInfo
{
public string? FkRoutingCode { get; set; }
public string? FkOperationCode { get; set; }
}
/// <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; }
}
}