zhuangpei-mesbackend/MDM/Models/Process/Dto/ProcessOperationWorkstationMappingDto.cs
2025-11-22 18:19:02 +08:00

60 lines
1.5 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
/// <summary>
/// 查询对象
/// </summary>
public class ProcessOperationWorkstationMappingQueryDto : PagerInfo
{
public string? FkRoutingCode { get; set; }
public string? FkOperationCode { get; set; }
public string? FkWorkstationCode { get; set; }
}
/// <summary>
/// 输入输出对象
/// </summary>
public class ProcessOperationWorkstationMappingDto
{
[Required(ErrorMessage = "Id不能为空")]
public int Id { get; set; }
[Required(ErrorMessage = "工艺路线不能为空")]
public string FkRoutingCode { get; set; }
[Required(ErrorMessage = "线体不能为空")]
public string FkProductlinebodyCode { get; set; }
[Required(ErrorMessage = "工序code不能为空")]
public string FkOperationCode { get; set; }
[Required(ErrorMessage = "工位ID不能为空")]
public string FkWorkstationCode { get; set; }
public string IsActive { get; set; }
public int? Priority { get; set; }
public decimal StandardTime { get; set; }
public decimal SetupTime { get; set; }
public DateTime? CreatedTime { get; set; }
public string CreatedBy { get; set; }
public string Remark { get; set; }
public DateTime? UpdatedTime { get; set; }
public string UpdatedBy { get; set; }
}
}