ProductInspectUpdateDto.cs 2.6 KB

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