using System;
using System.Collections.Generic;
using Abp.AutoMapper;
using System.ComponentModel.DataAnnotations;
using ShwasherSys.BaseSysInfo.SysAttachFiles.Dto;
namespace ShwasherSys.Inspection.Dto
{
///
/// 技术检验信息
///
[AutoMapTo(typeof(ProductInspectInfo))]
public class ProductInspectCreateDto
{
///
/// 检验编号
///
[StringLength(ProductInspectInfo.ProductInspectNoMaxLength)]
public string ProductInspectNo { get; set; }
public string ProductInspectReportNo { get; set; }
///
/// 检验报告
///
public string ReportContent { get; set; }
///
/// 排产单号
///
[Required]
[StringLength(ProductInspectInfo.ProductionOrderNoMaxLength)]
public string ProductionOrderNo { get; set; }
///
/// 半成品编号
///
[Required]
[StringLength(ProductInspectInfo.SemiProductNoMaxLength)]
public string SemiProductNo { get; set; }
public string InspectSubject { get; set; }
///
/// 检验结果
///
public int InspectResult { get; set; }
///
/// 检验时间
///
public DateTime? InspectDate { get; set; }
///
/// 检验人员
///
[StringLength(ProductInspectInfo.InspectMemberMaxLength)]
public string InspectMember { get; set; }
///
/// 是否删除
///
[StringLength(ProductInspectInfo.IsLockMaxLength)]
public string IsLock { get; set; }
///
/// 检验详情
///
[StringLength(ProductInspectInfo.InspectContentMaxLength)]
public string InspectContent { get; set; }
public List AttachFiles { get; set; }
///
/// 创建时间
///
public DateTime? TimeCreated { get; set; }
///
/// 修改时间
///
public DateTime? TimeLastMod { get; set; }
[StringLength(ProductInspectInfo.CreatorUserIdMaxLength)]
public string CreatorUserId { get; set; }
[StringLength(ProductInspectInfo.UserIDLastModMaxLength)]
public string UserIDLastMod { get; set; }
}
}