PackageApplyCreateDto.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using Abp.AutoMapper;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace ShwasherSys.PackageInfo.Dto
  5. {
  6. /// <summary>
  7. /// 半成品包装信息
  8. /// </summary>
  9. [AutoMapTo(typeof(PackageApply))]
  10. public class PackageApplyCreateDto
  11. {
  12. /// <summary>
  13. /// 半成品仓库库存信息编号
  14. /// </summary>
  15. [StringLength(PackageApply.CurrentSemiStoreHouseNoMaxLength)]
  16. public string CurrentSemiStoreHouseNo { get; set; }
  17. /// <summary>
  18. /// 流转单编号
  19. /// </summary>
  20. [Required]
  21. [StringLength(PackageApply.ProductionOrderNoMaxLength)]
  22. public string ProductionOrderNo { get; set; }
  23. /// <summary>
  24. /// 半成品编号
  25. /// </summary>
  26. [StringLength(PackageApply.SemiProductNoMaxLength)]
  27. public string SemiProductNo { get; set; }
  28. /// <summary>
  29. /// 申请包装数量
  30. /// </summary>
  31. public decimal ApplyQuantity { get; set; }
  32. /// <summary>
  33. /// 实际包装的千件数
  34. /// </summary>
  35. public decimal ActualQuantity { get; set; }
  36. [StringLength(PackageApply.ApplyStatusMaxLength)]
  37. public string ApplyStatus { get; set; }
  38. /// <summary>
  39. /// 发起申请时间
  40. /// </summary>
  41. public DateTime? ApplyDate { get; set; }
  42. [StringLength(PackageApply.RemarkMaxLength)]
  43. public string Remark { get; set; }
  44. public DateTime? TimeCreated { get; set; }
  45. public DateTime? TimeLastMod { get; set; }
  46. [StringLength(PackageApply.CreatorUserIdMaxLength)]
  47. public string CreatorUserId { get; set; }
  48. [StringLength(PackageApply.UserIDLastModMaxLength)]
  49. public string UserIDLastMod { get; set; }
  50. }
  51. }