zhuangpei-mesbackend/DOAN.Model/MES/trace/Dto/TraceProjectPartDto.cs

45 lines
1.0 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.Dto
{
/// <summary>
/// 追溯零件清单查询对象
/// </summary>
public class TraceProjectPartQueryDto : PagerInfo
{
}
/// <summary>
/// 追溯零件清单输入输出对象
/// </summary>
public class TraceProjectPartDto
{
[Required(ErrorMessage = "零件id不能为空")]
public int Id { get; set; }
[Required(ErrorMessage = "项目号不能为空")]
public string ProjectCode { get; set; }
[Required(ErrorMessage = "总成号不能为空")]
public string ProductionCode { get; set; }
public string ProductionName { get; set; }
public string Specification { get; set; }
public string Colour { get; set; }
public string HandleType { get; set; }
public string CustomCode { get; set; }
public string Unit { get; set; }
public string CreateBy { get; set; }
public DateTime? CreateTime { get; set; }
}
}