PtoductInspectReport.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. using Abp.Domain.Entities;
  5. using Abp.Domain.Entities.Auditing;
  6. namespace ShwasherSys.Inspection
  7. {
  8. [Table("ProductInspectReportInfos")]
  9. public class ProductInspectReport : CreationAuditedEntity<int>
  10. {
  11. public const int ProductionOrderNoMaxLength = 11;
  12. public const int SemiProductNoMaxLength = 32;
  13. public const int ProductInspectNoMaxLength = 32;
  14. public const int InspectMemberMaxLength = 100;
  15. public const int InspectContentMaxLength = 1000;
  16. public const int IsLockMaxLength = 1;
  17. /// <summary>
  18. /// 检验报告编号
  19. /// </summary>
  20. [Required]
  21. [StringLength(ProductInspectNoMaxLength)]
  22. public string ProductInspectReportNo { get; set; }
  23. /// <summary>
  24. /// 排产单号
  25. /// </summary>
  26. [Required]
  27. [StringLength(ProductionOrderNoMaxLength)]
  28. public string ProductionOrderNo { get; set; }
  29. /// <summary>
  30. /// 半成品编号
  31. /// </summary>
  32. [StringLength(SemiProductNoMaxLength)]
  33. public string SemiProductNo { get; set; }
  34. /// <summary>
  35. /// 确认状态(1:未确认 2:最终确认)
  36. /// </summary>
  37. public int ConfirmStatus { get; set; }
  38. /// <summary>
  39. /// 检验次数
  40. /// </summary>
  41. public int InspectCount { get; set; }
  42. /// <summary>
  43. /// 确认时间
  44. /// </summary>
  45. public DateTime? ConfirmDate { get; set; }
  46. /// <summary>
  47. /// 确认人员
  48. /// </summary>
  49. [StringLength(InspectMemberMaxLength)]
  50. public string ConfirmUser { get; set; }
  51. /// <summary>
  52. /// 检验详情
  53. /// </summary>
  54. [StringLength(InspectContentMaxLength)]
  55. public string InspectContent { get; set; }
  56. }
  57. }