37 lines
1.0 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.Dto
{
/// <summary>
/// 追溯扫sn追溯码记录模板实际使用需要按时间分表查询对象
/// </summary>
public class TraceSnScanQueryDto : PagerInfo
{
}
/// <summary>
/// 追溯扫sn追溯码记录模板实际使用需要按时间分表输入输出对象
/// </summary>
public class TraceSnScanDto
{
[Required(ErrorMessage = "追溯扫码标签内容不能为空")]
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
[Required(ErrorMessage = "项目编号不能为空")]
public string ProjectCode { get; set; }
[Required(ErrorMessage = "零件编号不能为空")]
public string ProductionCode { get; set; }
public string Specification { get; set; }
[Required(ErrorMessage = "追溯码SN不能为空")]
public string PartSn { get; set; }
public DateTime? CreateTime { get; set; }
}
}