Materiel.cs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace NX.ERP.Model
  6. {
  7. public class Material: BaseModel
  8. {
  9. private string _code;
  10. private string _name;
  11. private decimal length;
  12. private decimal wide;
  13. private decimal height;
  14. private int volume;
  15. private int weight;
  16. private double unitPrice;
  17. private string unitCode;
  18. private int maxStock;
  19. private int minStock;
  20. private int aql;
  21. private int invccode;
  22. public string MaterialCode { get => _code; set => _code = value; }
  23. public string MaterialName { get => _name; set => _name = value; }
  24. public string MaterialTypeCode { get; set; }
  25. public string SpecsModel { get; set; }
  26. public string UnitCode { get => unitCode; set => unitCode = value; }
  27. public int MinPackageQty { get; set; }
  28. public int TaxRate { get; set; }
  29. public decimal Length { get => length; set => length = value; }
  30. public decimal Wide { get => wide; set => wide = value; }
  31. public decimal Height { get => height; set => height = value; }
  32. public int Volume { get => volume; set => volume = value; }
  33. public int Weight { get => weight; set => weight = value; }
  34. public double UnitPrice { get => unitPrice; set => unitPrice = value; }
  35. public int MaxStock { get => maxStock; set => maxStock = value; }
  36. public int MinStock { get => minStock; set => minStock = value; }
  37. public int SafeStock { get; set; }
  38. public int Aql { get => aql; set => aql = value; }
  39. public double InvNCost { get; set; }
  40. /// <summary>
  41. /// 参考成本
  42. /// </summary>
  43. public double InvSPrice { get; set; }
  44. /// <summary>
  45. /// 计划单价
  46. /// </summary>
  47. public double InvRCost { get; set; }
  48. public double ImpTaxRate { get; set; }
  49. }
  50. }