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