Valeo_Line_MES_backend/MDM/Models/Process/Dto/ProcessOperationReworkRuleDto.cs

48 lines
1.1 KiB
C#
Raw Normal View History

2026-01-10 13:47:54 +08:00
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; }
2026-01-12 11:13:10 +08:00
public string? FkRoutingCode { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? FkOperationCode { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? IsReworkAllowed { get; set; }
2026-01-10 13:47:54 +08:00
public int? MaxReworkTimes { get; set; }
2026-01-12 11:13:10 +08:00
public string? ReworkTargetOperationCode { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? ReworkCondition { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? Description { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? CreatedBy { get; set; }
2026-01-10 13:47:54 +08:00
public DateTime? CreatedTime { get; set; }
2026-01-12 11:13:10 +08:00
public string? UpdatedBy { get; set; }
2026-01-10 13:47:54 +08:00
public DateTime? UpdatedTime { get; set; }
}
}