zhuangpei-mesbackend/MDM/Models/Process/Dto/ProcessOperationWorkstationMappingDto.cs
gcw_MV9p2JJN 1790a5e1cd 1
2025-11-24 11:04:05 +08:00

61 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; }
public string FkProductlinebodyCode { get; set; }
}
/// <summary>
/// 输入输出对象
/// </summary>
public class ProcessOperationWorkstationMappingDto
{
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; }
}
}