CurrentRmStoreHouseDto.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using Abp.AutoMapper;
  3. using Abp.Application.Services.Dto;
  4. namespace ShwasherSys.RmStore.Dto
  5. {
  6. [AutoMapTo(typeof(CurrentRmStoreHouse)),AutoMapFrom(typeof(CurrentRmStoreHouse))]
  7. public class CurrentRmStoreHouseDto: EntityDto<string>
  8. {
  9. public string ProductionOrderNo { get; set; }
  10. public int StoreHouseId { get; set; }
  11. /// <summary>
  12. /// 库位编码
  13. /// </summary>
  14. public string StoreLocationNo { get; set; }
  15. /// <summary>
  16. /// 原材料编号
  17. /// </summary>
  18. public string RmProductNo { get; set; }
  19. /// <summary>
  20. /// 冻结数量(用于出库申请之后还未正式出库的数量)
  21. /// </summary>
  22. public decimal FreezeQuantity { get; set; }
  23. /// <summary>
  24. /// 当前实际数量
  25. /// </summary>
  26. public decimal Quantity { get; set; }
  27. public string Remark { get; set; }
  28. /// <summary>
  29. /// 上月底剩余数量
  30. /// </summary>
  31. public decimal? PreMonthQuantity { get; set; }
  32. public string ProductBatchNum { get; set; }
  33. }
  34. [AutoMapTo(typeof(RmEnterStore))]
  35. public class AddRmEnterStore
  36. {
  37. public decimal Quantity { get; set; }
  38. public string ProductionOrderNo { get; set; }
  39. public string ProductBatchNum { get; set; }
  40. public string RmProductNo { get; set; }
  41. public int StoreHouseId { get; set; }
  42. public string StoreLocationNo { get; set; }
  43. }
  44. public class AddRmOutStoreDto
  45. {
  46. public decimal? Quantity { get; set; }
  47. public string CurrentRmStoreHouseNo { get; set; }
  48. }
  49. }