FJDtos.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Wms.Screen.Dto.ZhongTian.Response
  5. {
  6. public class BomSetGrpCurrentMaterialRateDto
  7. {
  8. public string MatCode { get; set; }
  9. public int Qty { get; set; }
  10. public string BomCode { get; set; }
  11. public string BomSetName { get; set; }
  12. public decimal Rate { get; set; }
  13. public decimal NormalRate { get; set; }
  14. public decimal DiffRate
  15. {
  16. get
  17. {
  18. return Rate - NormalRate;
  19. }
  20. }
  21. public string RateName { get { return Rate.ToString("P2"); } }
  22. public string NormalRateName { get { return NormalRate.ToString("P2"); } }
  23. public string DiffRateName
  24. {
  25. get
  26. {
  27. return DiffRate.ToString("P2");
  28. }
  29. }
  30. public int DiffQty { get; set; }
  31. }
  32. public class MantuoBarCodeRateDto
  33. {
  34. public string SetGrpCode { get; set; }
  35. public string BomMatCode { get; set; }
  36. public string BomMatName { get; set; }
  37. public string WarehouseName { get; set; }
  38. public int Qty { get; set; }
  39. }
  40. public class InvSetGrpDto
  41. {
  42. public string SetGrpCode { get; set; }
  43. public int Qty { get; set; }
  44. }
  45. }