72 lines
1.7 KiB
C#
72 lines
1.7 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace ZR.Model.Dto
|
|
{
|
|
/// <summary>
|
|
/// 质量GP12基础缺陷项查询对象
|
|
/// </summary>
|
|
public class QcGp12BaseDefectQueryDto : PagerInfo
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 质量GP12基础缺陷项输入输出对象
|
|
/// </summary>
|
|
public class QcGp12BaseDefectDto
|
|
{
|
|
[Required(ErrorMessage = "序号不能为空")]
|
|
public int Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string Code { get; set; }
|
|
|
|
public string Group { get; set; }
|
|
|
|
public string Type { get; set; }
|
|
|
|
public string Status { get; set; }
|
|
|
|
public string Remark { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
|
|
public class QcGp12AlterationDefectDto
|
|
{
|
|
/// <summary>
|
|
/// 缺陷项组别
|
|
/// </summary>
|
|
public string GroupName { get; set; }
|
|
public List<QcGp12ChildrenDefectDto> Children { get; set; }
|
|
}
|
|
|
|
public class QcGp12ChildrenDefectDto
|
|
{
|
|
/// <summary>
|
|
/// 缺陷项名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
/// <summary>
|
|
/// 缺陷项编号
|
|
/// </summary>
|
|
public string Code { get; set; }
|
|
/// <summary>
|
|
/// 缺陷项类别 1-抛光 2-打磨 3-报废
|
|
/// </summary>
|
|
public string Type { get; set; }
|
|
/// <summary>
|
|
/// 缺陷项数量
|
|
/// </summary>
|
|
public int Num { get; set; } = 0;
|
|
}
|
|
} |