ProductInspectCreateDto.cs 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using System;
  2. using System.Collections.Generic;
  3. using Abp.AutoMapper;
  4. using System.ComponentModel.DataAnnotations;
  5. using ShwasherSys.BaseSysInfo.SysAttachFiles.Dto;
  6. namespace ShwasherSys.Inspection.Dto
  7. {
  8. /// <summary>
  9. /// 技术检验信息
  10. /// </summary>
  11. [AutoMapTo(typeof(ProductInspectInfo))]
  12. public class ProductInspectCreateDto
  13. {
  14. /// <summary>
  15. /// 检验编号
  16. /// </summary>
  17. [StringLength(ProductInspectInfo.ProductInspectNoMaxLength)]
  18. public string ProductInspectNo { get; set; }
  19. public string ProductInspectReportNo { get; set; }
  20. /// <summary>
  21. /// 检验报告
  22. /// </summary>
  23. public string ReportContent { get; set; }
  24. /// <summary>
  25. /// 排产单号
  26. /// </summary>
  27. [Required]
  28. [StringLength(ProductInspectInfo.ProductionOrderNoMaxLength)]
  29. public string ProductionOrderNo { get; set; }
  30. /// <summary>
  31. /// 半成品编号
  32. /// </summary>
  33. [Required]
  34. [StringLength(ProductInspectInfo.SemiProductNoMaxLength)]
  35. public string SemiProductNo { get; set; }
  36. public string InspectSubject { get; set; }
  37. /// <summary>
  38. /// 检验结果
  39. /// </summary>
  40. public int InspectResult { get; set; }
  41. /// <summary>
  42. /// 检验时间
  43. /// </summary>
  44. public DateTime? InspectDate { get; set; }
  45. /// <summary>
  46. /// 检验人员
  47. /// </summary>
  48. [StringLength(ProductInspectInfo.InspectMemberMaxLength)]
  49. public string InspectMember { get; set; }
  50. /// <summary>
  51. /// 是否删除
  52. /// </summary>
  53. [StringLength(ProductInspectInfo.IsLockMaxLength)]
  54. public string IsLock { get; set; }
  55. /// <summary>
  56. /// 检验详情
  57. /// </summary>
  58. [StringLength(ProductInspectInfo.InspectContentMaxLength)]
  59. public string InspectContent { get; set; }
  60. public List<SysAttachFileCreateDto> AttachFiles { get; set; }
  61. /// <summary>
  62. /// 创建时间
  63. /// </summary>
  64. public DateTime? TimeCreated { get; set; }
  65. /// <summary>
  66. /// 修改时间
  67. /// </summary>
  68. public DateTime? TimeLastMod { get; set; }
  69. [StringLength(ProductInspectInfo.CreatorUserIdMaxLength)]
  70. public string CreatorUserId { get; set; }
  71. [StringLength(ProductInspectInfo.UserIDLastModMaxLength)]
  72. public string UserIDLastMod { get; set; }
  73. }
  74. }