ReplenishmentServiceLevel.cs 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. using Microsoft.EntityFrameworkCore;
  2. using System;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Business.Domain
  5. {
  6. /// <summary>
  7. ///补货模型物料Z服务水平
  8. /// </summary>
  9. [Comment("补货模型物料abcfmr")]
  10. [Index(nameof(number), nameof(tenant_id), nameof(fversion), nameof(factory_id), IsUnique = true)]
  11. public class ReplenishmentServiceLevel : BaseEntity
  12. {
  13. /// <summary>
  14. /// 物料编码
  15. /// </summary>
  16. [StringLength(80)]
  17. [Comment("物料编码")]
  18. public string number { get; set; }
  19. /// <summary>
  20. /// 物料名称
  21. /// </summary>
  22. [StringLength(200)]
  23. [Comment("物料名称")]
  24. public string name { get; set; }
  25. /// <summary>
  26. /// 规格型号
  27. /// </summary>
  28. [StringLength(200)]
  29. [Comment("规格型号")]
  30. public string model { get; set; }
  31. /// <summary>
  32. /// RS50成品 RS30 组件 RS11 原材料 RS12 零件 RS13 包装材料 RS14 辅料 RS15 低值易耗品 RS99 虚拟物料
  33. /// </summary>
  34. [StringLength(50)]
  35. [Comment("物料类型")]
  36. public string item_type { get; set; }
  37. /// <summary>
  38. /// 版本号
  39. /// </summary>
  40. [StringLength(80)]
  41. [Comment("版本号")]
  42. public string? fversion { get; set; }
  43. /// <summary>
  44. /// 总移库次数
  45. /// </summary>
  46. [Precision(20, 8)]
  47. [Comment("总移库次数")]
  48. public decimal? totalCount { get; set; }
  49. /// <summary>
  50. /// 月均出库次数
  51. /// </summary>
  52. [Precision(20, 8)]
  53. [Comment("月均出库次数")]
  54. public decimal? avgOutStock { get; set; }
  55. /// <summary>
  56. /// 总出货金额
  57. /// </summary>
  58. [Precision(20, 8)]
  59. [Comment("总出货金额")]
  60. public decimal? totalPrice { get; set; }
  61. /// <summary>
  62. /// 物料出货金额
  63. /// </summary>
  64. [Precision(20, 8)]
  65. [Comment("物料出货金额")]
  66. public decimal? Price { get; set; }
  67. /// <summary>
  68. /// ABC分类
  69. /// </summary>
  70. [StringLength(8)]
  71. [Comment("ABC分类")]
  72. public string? abc { get; set; }
  73. /// <summary>
  74. /// FMR分类
  75. /// </summary>
  76. [StringLength(8)]
  77. [Comment("FMR分类")]
  78. public string? fmr { get; set; }
  79. /// <summary>
  80. /// Z服务水平参数
  81. /// </summary>
  82. [Precision(20, 8)]
  83. [Comment("Z服务水平参数")]
  84. public decimal? service_level_pct { get; set; }
  85. }
  86. }