using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing; namespace ShwasherSys.Inspection { [Table("ProductInspectReportInfos")] public class ProductInspectReport : CreationAuditedEntity { public const int ProductionOrderNoMaxLength = 11; public const int SemiProductNoMaxLength = 32; public const int ProductInspectNoMaxLength = 32; public const int InspectMemberMaxLength = 100; public const int InspectContentMaxLength = 1000; public const int IsLockMaxLength = 1; /// /// 检验报告编号 /// [Required] [StringLength(ProductInspectNoMaxLength)] public string ProductInspectReportNo { get; set; } /// /// 排产单号 /// [Required] [StringLength(ProductionOrderNoMaxLength)] public string ProductionOrderNo { get; set; } /// /// 半成品编号 /// [StringLength(SemiProductNoMaxLength)] public string SemiProductNo { get; set; } /// /// 确认状态(1:未确认 2:最终确认) /// public int ConfirmStatus { get; set; } /// /// 检验次数 /// public int InspectCount { get; set; } /// /// 确认时间 /// public DateTime? ConfirmDate { get; set; } /// /// 确认人员 /// [StringLength(InspectMemberMaxLength)] public string ConfirmUser { get; set; } /// /// 检验详情 /// [StringLength(InspectContentMaxLength)] public string InspectContent { get; set; } } }