Mem_Product.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Data;
  4. using System.Text;
  5. namespace CoreEntity.Entity
  6. {
  7. [Serializable]
  8. public class Mem_Product
  9. {
  10. private string _productCode;
  11. private int _productObject;
  12. private string _productName;
  13. private string _productDesc;
  14. private string _manufacturer;
  15. private string _productType;
  16. private int _purchasePrice;
  17. private int _amount;
  18. private int _productState;
  19. private int _isDelete;
  20. private DateTime _creationDate;
  21. private DateTime _lastModified;
  22. private string _productText;
  23. private int _marketPrice;
  24. private int _marketIng;
  25. private DataTable _dt;
  26. private string _levelId;
  27. public Mem_Product(){}
  28. public string LevelId {
  29. get { return _levelId; }
  30. set { _levelId = value; }
  31. }
  32. public DataTable dt {
  33. get { return _dt; }
  34. set { _dt = value; }
  35. }
  36. public string ProductCode {
  37. get { return _productCode; }
  38. set { _productCode=value; }
  39. }
  40. public int MarketPrice {
  41. get { return _marketPrice; }
  42. set { _marketPrice=value; }
  43. }
  44. public int MarketIng {
  45. get { return _marketIng; }
  46. set { _marketIng = value; }
  47. }
  48. public int ProductObject {
  49. get { return _productObject; }
  50. set { _productObject = value; }
  51. }
  52. public DateTime LastModified {
  53. get { return _lastModified; }
  54. set { _lastModified = value; }
  55. }
  56. public DateTime CreationDate {
  57. get { return _creationDate; }
  58. set { _creationDate = value; }
  59. }
  60. public int Amount
  61. {
  62. get { return _amount; }
  63. set { _amount = value; }
  64. }
  65. public int State
  66. {
  67. get { return _productState; }
  68. set { _productState = value; }
  69. }
  70. public int IsDelete
  71. {
  72. get { return _isDelete; }
  73. set { _isDelete = value; }
  74. }
  75. public int PurchasePrice
  76. {
  77. get { return _purchasePrice; }
  78. set { _purchasePrice = value; }
  79. }
  80. public string ProductName
  81. {
  82. get { return _productName; }
  83. set { _productName = value; }
  84. }
  85. public string ProductDesc
  86. {
  87. get { return _productDesc; }
  88. set { _productDesc = value; }
  89. }
  90. public string Manufacturer
  91. {
  92. get { return _manufacturer; }
  93. set { _manufacturer = value; }
  94. }
  95. public string ProductType
  96. {
  97. get { return _productType; }
  98. set { _productType = value; }
  99. }
  100. public string ProductText
  101. {
  102. get { return _productText; }
  103. set { _productText = value; }
  104. }
  105. }
  106. /// <summary>
  107. /// 商品类目
  108. /// </summary>
  109. public class mem_productType {
  110. private string _typeId;
  111. private string _typeName;
  112. private int _productCn;
  113. public mem_productType(){}
  114. public string TypeId {
  115. get { return _typeId; }
  116. set { _typeId = value; }
  117. }
  118. public string TypeName {
  119. get { return _typeName; }
  120. set { _typeName = value; }
  121. }
  122. public int ProductCn {
  123. get { return _productCn; }
  124. set { _productCn = value; }
  125. }
  126. }
  127. public class mem_userLevel {
  128. private string _value;
  129. private string _parentValue;
  130. private string _label;
  131. public mem_userLevel() { }
  132. public string value
  133. {
  134. get { return _value; }
  135. set { _value = value; }
  136. }
  137. public string parentValue
  138. {
  139. get { return _parentValue; }
  140. set { _parentValue = value; }
  141. }
  142. public string label
  143. {
  144. get{ return _label; }
  145. set { _label = value; }
  146. }
  147. }
  148. public class mem_productPic {
  149. /* private string _picID;
  150. private string _productCode;
  151. private string _picUrl;
  152. */
  153. private string _url;
  154. private string _uid;
  155. private string _name;
  156. private string _thumbUrl;
  157. public mem_productPic() { }
  158. public string uid {
  159. get { return _uid; }
  160. set { _uid = value; }
  161. }
  162. public string name
  163. {
  164. get { return _name; }
  165. set { _name = value; }
  166. }
  167. public string thumbUrl
  168. {
  169. get { return _thumbUrl; }
  170. set { _thumbUrl = value; }
  171. }
  172. public string url {
  173. get { return _url; }
  174. set { _url = value; }
  175. }
  176. /*
  177. public string PicId {
  178. get { return _picID; }
  179. set { _picID = value; }
  180. }
  181. public string ProductCode {
  182. get { return _productCode; }
  183. set { _productCode = value; }
  184. }
  185. public string PicUrl {
  186. get { return _picUrl; }
  187. set { _picUrl = value; }
  188. }*/
  189. }
  190. }