53 lines
1.2 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.Dto
{
/// <summary>
/// 追溯配置,涵盖通用,项目,零件不同配置查询对象
/// </summary>
public class TraceConfigQueryDto : PagerInfo
{
}
/// <summary>
/// 设备下载配置
/// </summary>
public class DeviceDownLoadTraceConfigQueryDto
{
public string ProcessCode { get; set; }
}
/// <summary>
/// 追溯配置,涵盖通用,项目,零件不同配置输入输出对象
/// </summary>
public class TraceConfigDto
{
[Required(ErrorMessage = "主键不能为空")]
public int Id { get; set; }
public string ConfigCode { get; set; }
public string ConfigName { get; set; }
public string ConfigValue { get; set; }
public string ConfigType { get; set; }
public string ConfigPartCode { get; set; }
public string ConfigProjectCode { get; set; }
public string FactoryCode { get; set; }
public string WorkshopCode { get; set; }
public string LineCode { get; set; }
public string ProcessCode { get; set; }
public string DeviceCode { get; set; }
}
}