L1Mtrldef.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. using LJLib.DAL.SQL;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace JLHHJSvr.Com.Model
  7. {
  8. [PK(new[] { "mtrlid,mtrlcode" })]
  9. public sealed class L1Mtrldef
  10. {
  11. public int? mtrlid { get; set; }
  12. public string mtrlcode { get; set; }
  13. public string mtrlname { get; set; }
  14. public int? mtrlorigin { get; set; }
  15. public string mtrltype { get; set; }
  16. public string handtype { get; set; }
  17. public string unit { get; set; }
  18. public string mtrlmode { get; set; }
  19. public string mtrlsectype { get; set; }
  20. public string zxmtrlmode { get; set; }
  21. public string usermtrlmode { get; set; }
  22. public string mtrlengname { get; set; }
  23. public string material { get; set; }
  24. public string barcode { get; set; }
  25. public string dscrp { get; set; }
  26. public int? issuliao { get; set; }
  27. public int? isuse { get; set; }
  28. //public byte? iflimitprice { get; set; }
  29. public decimal? net_weight { get; set; }
  30. public decimal? gross_weight { get; set; }
  31. public decimal? cubage { get; set; }
  32. public string prdpackcode { get; set; }
  33. public DateTime? opdate { get; set; }
  34. public string opemp { get; set; }
  35. public int? buyunit { get; set; }
  36. public int? buydec { get; set; }
  37. public string unit_buy { get; set; }
  38. public string unit_scll { get; set; }
  39. public string unit_sale { get; set; }
  40. public decimal rate_buy { get; set; }
  41. public decimal rate_scll { get; set; }
  42. public decimal rate_sale { get; set; }
  43. public decimal saleunit { get; set; }
  44. public int? price_ifpz_buy { get; set; }
  45. public int? iflimitprice { get; set; }
  46. public int? flag { get; set; }
  47. public int? statustype { get; set; }
  48. public int? woodcodetype { get; set; }
  49. public int? pcodetype { get; set; }
  50. public string mtrloriginStr
  51. {
  52. get
  53. {
  54. switch (mtrlorigin)
  55. {
  56. case 0:
  57. return "自制产品";
  58. case 1:
  59. return "产品包装件";
  60. case 2:
  61. return "采购";
  62. case 3:
  63. return "外协部件";
  64. case 4:
  65. return "自制部件";
  66. }
  67. return string.Empty;
  68. }
  69. set { }
  70. }
  71. public string issuliaoStr
  72. {
  73. get
  74. {
  75. switch (issuliao)
  76. {
  77. case 0:
  78. return "普通物料";
  79. case 4:
  80. return "玻璃";
  81. case 5:
  82. return "纸箱";
  83. }
  84. return string.Empty;
  85. }
  86. set { }
  87. }
  88. public int? status_check { get; set; }
  89. public int? woodcode_check { get; set; }
  90. public int? pcode_check { get; set; }
  91. public byte? statusflag { get; set; }
  92. public byte? woodcodeflag { get; set; }
  93. public byte? pcodeflag { get; set; }
  94. public byte? Mtrlorigin { get; set; }
  95. public decimal? LMsaleprice { get; set; }
  96. public decimal? gbrate { get; set; }
  97. public int? ifcheckaddqty { get; set; }
  98. public string strcheckaddqty { get; set; }
  99. public string woodcode_config { get; set; }
  100. public string rowNum { get; set; }
  101. public string status_config { get; set; }
  102. public string woodcode_configName { get; set; }
  103. public string status_configName { get; set; }
  104. public decimal? quoteqty { get; set; }
  105. /// <summary>
  106. /// 主图MD5
  107. /// </summary>
  108. public string picmd5 { get; set; }
  109. public string storagename { get; set; }
  110. /// <summary>
  111. /// 单价
  112. /// </summary>
  113. public decimal? price { get; set; }
  114. public decimal? taxrate { get; set; }
  115. public decimal? rebate { get; set; }
  116. /// <summary>
  117. /// 原价
  118. /// </summary>
  119. public decimal? price_ori { get; set; }
  120. /// <summary>
  121. /// 参考装柜量
  122. /// </summary>
  123. public decimal? ck_packqty { get; set; }
  124. /// <summary>
  125. /// 价格表币种
  126. /// </summary>
  127. public int moneyid { get; set; }
  128. public int fjcnt { get; set; }
  129. public decimal kcqty { get; set; }
  130. public decimal xqqty { get; set; }
  131. public decimal maxqty { get; set; }
  132. /// <summary>
  133. /// 配置1默认值
  134. /// </summary>
  135. public string dftStatus { get; set; }
  136. /// <summary>
  137. /// 配置2默认值
  138. /// </summary>
  139. public string dftWoodcode { get; set; }
  140. /// <summary>
  141. /// 配置3默认值
  142. /// </summary>
  143. public string dftPcode { get; set; }
  144. /// <summary>
  145. /// 分部id
  146. /// </summary>
  147. public int? scid { get; set; }
  148. public int? storageid { get; set; }
  149. public int? mtrltypeid { get; set; }
  150. public int? mtrlprp { get; set; }
  151. public string plancode { get; set; }
  152. #region u_erpmtrl_price
  153. public DateTime? create_date { get; set; }
  154. public string create_emp { get; set; }
  155. public DateTime? update_date { get; set; }
  156. public string update_emp { get; set; }
  157. #endregion
  158. }
  159. }