zhuangpei-mesbackend/DOAN.Model/MES/process/Dto/ProcessmodelOperationDto.cs
2025-09-20 15:33:58 +08:00

55 lines
1.4 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.process.Dto
{
/// <summary>
/// 工序表查询对象
/// </summary>
public class ProcessmodelOperationQueryDto : PagerInfo
{
}
/// <summary>
/// 工序表输入输出对象
/// </summary>
public class ProcessmodelOperationDto
{
[Required(ErrorMessage = "主键ID不能为空")]
public int Id { get; set; }
[Required(ErrorMessage = "工序编码不能为空")]
public string OperationCode { get; set; }
[Required(ErrorMessage = "工序名称不能为空")]
public string OperationName { get; set; }
[Required(ErrorMessage = "所属工艺路线ID不能为空")]
public int RoutingId { get; set; }
[Required(ErrorMessage = "工序顺序号不能为空")]
public int OperationSeq { get; set; }
public string WorkCenter { get; set; }
public decimal StandardTime { get; set; }
public string Description { get; set; }
[Required(ErrorMessage = "创建时间不能为空")]
public DateTime? CreateTime { get; set; }
public DateTime? UpdateTime { get; set; }
[Required(ErrorMessage = "是否有效1=有效0=无效不能为空")]
public string IsActive { get; set; }
}
public class ProcessmodelRouteParentDto :ProcessmodelRouting
{
public int parentId { get; set; }
}
}