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

58 lines
1.5 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 ProcessmodelRoutingQueryDto : PagerInfo
{
/// <summary>
/// 工艺路线编码
/// </summary>
public string RoutingCode { get; set; }
/// <summary>
/// 工艺路线名称
/// </summary>
public string RoutingName { get; set; }
/// <summary>
/// 版本号
/// </summary>
public string Version { get; set; }
}
/// <summary>
/// 工艺路线表输入输出对象
/// </summary>
public class ProcessmodelRoutingDto
{
[Required(ErrorMessage = "主键ID不能为空")]
public int Id { get; set; }
[Required(ErrorMessage = "工艺路线编码不能为空")]
public string RoutingCode { get; set; }
[Required(ErrorMessage = "工艺路线名称不能为空")]
public string RoutingName { get; set; }
[Required(ErrorMessage = "产品/物料编码不能为空")]
public string ProductCode { get; set; }
public string Description { get; set; }
public string Version { get; set; }
[Required(ErrorMessage = "创建时间不能为空")]
public DateTime? CreateTime { get; set; }
public DateTime? UpdateTime { get; set; }
[Required(ErrorMessage = "是否有效1=有效0=无效不能为空")]
public string IsActive { get; set; }
}
}