CreateOutStoreApplyDto.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using Abp.AutoMapper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using ShwasherSys.SemiProductStoreInfo;
  8. using System.ComponentModel.DataAnnotations;
  9. namespace ShwasherSys.ProductionOrderInfo.Dto
  10. {
  11. [AutoMapTo(typeof(SemiOutStore))]
  12. public class CreateOutStoreApplyDto
  13. {
  14. [Required]
  15. [StringLength(SemiOutStore.ProductionOrderNoMaxLength)]
  16. public string ProductionOrderNo { get; set; }
  17. /// <summary>
  18. /// 半成品库存中记录编号
  19. /// </summary>
  20. [StringLength(SemiOutStore.CurrentSemiStoreHouseNoMaxLength)]
  21. public string CurrentSemiStoreHouseNo { get; set; }
  22. [Required]
  23. public int StoreHouseId { get; set; }
  24. /// <summary>
  25. /// 1.申请中 2.已出库 3.已取消
  26. /// </summary>
  27. [Required]
  28. [StringLength(SemiOutStore.ApplyStatusMaxLength)]
  29. public string ApplyStatus { get; set; }
  30. /// <summary>
  31. /// 申请出库来源(1.外协加工申请 2.包装申请)
  32. /// </summary>
  33. [Required]
  34. [StringLength(SemiOutStore.ApplyOutStoreSourceMaxLength)]
  35. public string ApplyOutStoreSource { get; set; }
  36. /// <summary>
  37. /// 半成品编号
  38. /// </summary>
  39. [StringLength(SemiOutStore.SemiProductNoMaxLength)]
  40. public string SemiProductNo { get; set; }
  41. /// <summary>
  42. /// 申请入库数量
  43. /// </summary>
  44. public decimal Quantity { get; set; }
  45. /// <summary>
  46. /// 实际出库数量(用于填入实时库存中的数量)
  47. /// </summary>
  48. public decimal ActualQuantity { get; set; }
  49. /// <summary>
  50. /// 申请出库时间
  51. /// </summary>
  52. public DateTime? ApplyOutDate { get; set; }
  53. [StringLength(SemiOutStore.RemarkMaxLength)]
  54. public string Remark { get; set; }
  55. public DateTime? TimeCreated { get; set; }
  56. public DateTime? TimeLastMod { get; set; }
  57. [StringLength(SemiOutStore.CreatorUserIdMaxLength)]
  58. public string CreatorUserId { get; set; }
  59. [StringLength(SemiOutStore.UserIDLastModMaxLength)]
  60. public string UserIDLastMod { get; set; }
  61. }
  62. }