41 lines
1.1 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 TraceSnSubScanQueryDto : PagerInfo
{
public string PartSn { get; set; }
}
/// <summary>
/// 追溯扫码扫子零件绑定sn标签模板实际使用需要按时间分表输入输出对象
/// </summary>
public class TraceSnSubScanDto
{
[Required(ErrorMessage = "追溯扫码标签内容不能为空")]
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
public string SubCode { get; set; }
public string SubName { get; set; }
public string Specification { get; set; }
[Required(ErrorMessage = "追溯码SN不能为空")]
public string PartSn { get; set; }
[Required(ErrorMessage = "零件子件不能为空")]
public string SubPartScanCode { get; set; }
public int? IsBack { get; set; }
public DateTime? CreateTime { get; set; }
}
}