FinshedEnterStoreCreateDto.cs 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. using Abp.AutoMapper;
  4. using ShwasherSys.ProductStoreInfo;
  5. namespace ShwasherSys.FinshedStoreInfo.Dto
  6. {
  7. /// <summary>
  8. /// 成品仓库维护
  9. /// </summary>
  10. [AutoMapTo(typeof(FinshedEnterStore))]
  11. public class FinshedEnterStoreCreateDto
  12. {
  13. [Required]
  14. [StringLength(FinshedEnterStore.ProductionOrderNoMaxLength)]
  15. public string ProductionOrderNo { get; set; }
  16. [Required]
  17. [StringLength(FinshedEnterStore.PackageApplyNoMaxLength)]
  18. public string PackageApplyNo { get; set; }
  19. /// <summary>
  20. /// 半成品编号
  21. /// </summary>
  22. [StringLength(FinshedEnterStore.SemiProductNoMaxLength)]
  23. public string SemiProductNo { get; set; }
  24. /// <summary>
  25. /// 半成品编号
  26. /// </summary>
  27. [StringLength(FinshedEnterStore.ProductNoMaxLength)]
  28. public string ProductNo { get; set; }
  29. [Required]
  30. public int StoreHouseId { get; set; }
  31. [StringLength(FinshedEnterStore.StoreLocationNoMaxLength)]
  32. public string StoreLocationNo { get; set; }
  33. /// <summary>
  34. /// 申请状态
  35. /// </summary>
  36. [Required]
  37. public int ApplyStatus { get; set; }
  38. /// <summary>
  39. /// 是否已关闭
  40. /// </summary>
  41. public bool IsClose { get; set; }
  42. /// <summary>
  43. /// 申请来源(1.车间包装 )
  44. /// </summary>
  45. [Required]
  46. public int ApplySource { get; set; }
  47. /// <summary>
  48. /// 申请入库数量(千斤)
  49. /// </summary>
  50. public decimal Quantity { get; set; }
  51. /// <summary>
  52. /// 包装规格
  53. /// </summary>
  54. public decimal PackageSpecification { get; set; }
  55. /// <summary>
  56. /// 申请入库包数
  57. /// </summary>
  58. public decimal PackageCount { get; set; }
  59. /// <summary>
  60. /// 实际入库包数
  61. /// </summary>
  62. public decimal ActualPackageCount { get; set; }
  63. /// <summary>
  64. /// 审核人员
  65. /// </summary>
  66. public string AuditUser { get; set; }
  67. /// <summary>
  68. /// 审核时间
  69. /// </summary>
  70. public DateTime? AuditDate { get; set; }
  71. /// <summary>
  72. /// 申请入库时间
  73. /// </summary>
  74. public DateTime? ApplyEnterDate { get; set; }
  75. [StringLength(FinshedEnterStore.RemarkMaxLength)]
  76. public string Remark { get; set; }
  77. public DateTime? TimeCreated { get; set; }
  78. public DateTime? TimeLastMod { get; set; }
  79. [StringLength(FinshedEnterStore.CreatorUserIdMaxLength)]
  80. public string CreatorUserId { get; set; }
  81. [StringLength(FinshedEnterStore.UserIDLastModMaxLength)]
  82. public string UserIDLastMod { get; set; }
  83. }
  84. }