UserBillEntity.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  1. <?php
  2. namespace app\entity\data\user;
  3. use app\entity\data\DataEntity;
  4. class UserBillEntity extends DataEntity
  5. {
  6. public $bill_id = null; // 用户账单id
  7. public $uid = null; // 用户uid
  8. public $link_id = null; // 关联订单id
  9. public $pm = null; // 0 = 支出 1 = 获得
  10. public $title = null; // 账单标题
  11. public $category = null; // 明细种类
  12. public $type = null; // 明细类型 commission佣金
  13. public $number = null; // 明细数字
  14. public $balance = null; // 剩余
  15. public $mark = null; // 备注
  16. public $create_time = null; // 添加时间
  17. public $status = null; // 0 = 待确定 1 = 有效 -1 = 无效
  18. public $commission_type = null; // 佣金类型
  19. public $order_sn = null; // 订单号
  20. public $tripartite = null; // 三方支付类型
  21. public $type_shop = null; // 平台或店铺类型
  22. public $mer_id = null; // 商户id
  23. public $source = null; // 1 线下 0线上
  24. public $order_type = null; // 订单类型 1自营 2 第三方
  25. public $is_red_brokerage = null; // 红积分对冲佣金 0正常佣金
  26. public $gzc = null; // 养老金是否已进入公证处log表
  27. public $is_gzc = null; // 养老金是否发起过
  28. public $take_time = null; // 结算时间
  29. public $district_id = null; // 区域ID
  30. public $street_id = null; // 街道ID
  31. public $month = null; // 月份
  32. public $num = null; // 份数
  33. /**
  34. * @return mixed
  35. */
  36. public function getBillId()
  37. {
  38. return $this->bill_id;
  39. }
  40. /**
  41. * @param mixed $bill_id
  42. * @return UserBillEntity
  43. */
  44. public function setBillId($bill_id): UserBillEntity
  45. {
  46. $this->bill_id = $bill_id;
  47. return $this;
  48. }
  49. /**
  50. * @return mixed
  51. */
  52. public function getUid()
  53. {
  54. return $this->uid;
  55. }
  56. /**
  57. * @param mixed $uid
  58. * @return UserBillEntity
  59. */
  60. public function setUid($uid): UserBillEntity
  61. {
  62. $this->uid = $uid;
  63. return $this;
  64. }
  65. /**
  66. * @return mixed
  67. */
  68. public function getLinkId()
  69. {
  70. return $this->link_id;
  71. }
  72. /**
  73. * @param mixed $link_id
  74. * @return UserBillEntity
  75. */
  76. public function setLinkId($link_id): UserBillEntity
  77. {
  78. $this->link_id = $link_id;
  79. return $this;
  80. }
  81. /**
  82. * @return mixed
  83. */
  84. public function getPm()
  85. {
  86. return $this->pm;
  87. }
  88. /**
  89. * @param mixed $pm
  90. * @return UserBillEntity
  91. */
  92. public function setPm($pm): UserBillEntity
  93. {
  94. $this->pm = $pm;
  95. return $this;
  96. }
  97. /**
  98. * @return mixed
  99. */
  100. public function getTitle()
  101. {
  102. return $this->title;
  103. }
  104. /**
  105. * @param mixed $title
  106. * @return UserBillEntity
  107. */
  108. public function setTitle($title): UserBillEntity
  109. {
  110. $this->title = $title;
  111. return $this;
  112. }
  113. /**
  114. * @return mixed
  115. */
  116. public function getCategory()
  117. {
  118. return $this->category;
  119. }
  120. /**
  121. * @param mixed $category
  122. * @return UserBillEntity
  123. */
  124. public function setCategory($category): UserBillEntity
  125. {
  126. $this->category = $category;
  127. return $this;
  128. }
  129. /**
  130. * @return mixed
  131. */
  132. public function getType()
  133. {
  134. return $this->type;
  135. }
  136. /**
  137. * @param mixed $type
  138. * @return UserBillEntity
  139. */
  140. public function setType($type): UserBillEntity
  141. {
  142. $this->type = $type;
  143. return $this;
  144. }
  145. /**
  146. * @return mixed
  147. */
  148. public function getNumber()
  149. {
  150. return $this->number;
  151. }
  152. /**
  153. * @param mixed $number
  154. * @return UserBillEntity
  155. */
  156. public function setNumber($number): UserBillEntity
  157. {
  158. $this->number = $number;
  159. return $this;
  160. }
  161. /**
  162. * @return mixed
  163. */
  164. public function getBalance()
  165. {
  166. return $this->balance;
  167. }
  168. /**
  169. * @param mixed $balance
  170. * @return UserBillEntity
  171. */
  172. public function setBalance($balance): UserBillEntity
  173. {
  174. $this->balance = $balance;
  175. return $this;
  176. }
  177. /**
  178. * @return mixed
  179. */
  180. public function getMark()
  181. {
  182. return $this->mark;
  183. }
  184. /**
  185. * @param mixed $mark
  186. * @return UserBillEntity
  187. */
  188. public function setMark($mark): UserBillEntity
  189. {
  190. $this->mark = $mark;
  191. return $this;
  192. }
  193. /**
  194. * @return mixed
  195. */
  196. public function getCreateTime()
  197. {
  198. return $this->create_time;
  199. }
  200. /**
  201. * @param mixed $create_time
  202. * @return UserBillEntity
  203. */
  204. public function setCreateTime($create_time): UserBillEntity
  205. {
  206. $this->create_time = $create_time;
  207. return $this;
  208. }
  209. /**
  210. * @return mixed
  211. */
  212. public function getStatus()
  213. {
  214. return $this->status;
  215. }
  216. /**
  217. * @param mixed $status
  218. * @return UserBillEntity
  219. */
  220. public function setStatus($status): UserBillEntity
  221. {
  222. $this->status = $status;
  223. return $this;
  224. }
  225. /**
  226. * @return mixed
  227. */
  228. public function getCommissionType()
  229. {
  230. return $this->commission_type;
  231. }
  232. /**
  233. * @param mixed $commission_type
  234. * @return UserBillEntity
  235. */
  236. public function setCommissionType($commission_type): UserBillEntity
  237. {
  238. $this->commission_type = $commission_type;
  239. return $this;
  240. }
  241. /**
  242. * @return mixed
  243. */
  244. public function getOrderSn()
  245. {
  246. return $this->order_sn;
  247. }
  248. /**
  249. * @param mixed $order_sn
  250. * @return UserBillEntity
  251. */
  252. public function setOrderSn($order_sn): UserBillEntity
  253. {
  254. $this->order_sn = $order_sn;
  255. return $this;
  256. }
  257. /**
  258. * @return mixed
  259. */
  260. public function getTripartite()
  261. {
  262. return $this->tripartite;
  263. }
  264. /**
  265. * @param mixed $tripartite
  266. * @return UserBillEntity
  267. */
  268. public function setTripartite($tripartite): UserBillEntity
  269. {
  270. $this->tripartite = $tripartite;
  271. return $this;
  272. }
  273. /**
  274. * @return mixed
  275. */
  276. public function getTypeShop()
  277. {
  278. return $this->type_shop;
  279. }
  280. /**
  281. * @param mixed $type_shop
  282. * @return UserBillEntity
  283. */
  284. public function setTypeShop($type_shop): UserBillEntity
  285. {
  286. $this->type_shop = $type_shop;
  287. return $this;
  288. }
  289. /**
  290. * @return mixed
  291. */
  292. public function getMerId()
  293. {
  294. return $this->mer_id;
  295. }
  296. /**
  297. * @param mixed $mer_id
  298. * @return UserBillEntity
  299. */
  300. public function setMerId($mer_id): UserBillEntity
  301. {
  302. $this->mer_id = $mer_id;
  303. return $this;
  304. }
  305. /**
  306. * @return mixed
  307. */
  308. public function getSource()
  309. {
  310. return $this->source;
  311. }
  312. /**
  313. * @param mixed $source
  314. * @return UserBillEntity
  315. */
  316. public function setSource($source): UserBillEntity
  317. {
  318. $this->source = $source;
  319. return $this;
  320. }
  321. /**
  322. * @return mixed
  323. */
  324. public function getOrderType()
  325. {
  326. return $this->order_type;
  327. }
  328. /**
  329. * @param mixed $order_type
  330. * @return UserBillEntity
  331. */
  332. public function setOrderType($order_type): UserBillEntity
  333. {
  334. $this->order_type = $order_type;
  335. return $this;
  336. }
  337. /**
  338. * @return mixed
  339. */
  340. public function getIsRedBrokerage()
  341. {
  342. return $this->is_red_brokerage;
  343. }
  344. /**
  345. * @param mixed $is_red_brokerage
  346. * @return UserBillEntity
  347. */
  348. public function setIsRedBrokerage($is_red_brokerage): UserBillEntity
  349. {
  350. $this->is_red_brokerage = $is_red_brokerage;
  351. return $this;
  352. }
  353. /**
  354. * @return mixed
  355. */
  356. public function getGzc()
  357. {
  358. return $this->gzc;
  359. }
  360. /**
  361. * @param mixed $gzc
  362. * @return UserBillEntity
  363. */
  364. public function setGzc($gzc): UserBillEntity
  365. {
  366. $this->gzc = $gzc;
  367. return $this;
  368. }
  369. /**
  370. * @return mixed
  371. */
  372. public function getIsGzc()
  373. {
  374. return $this->is_gzc;
  375. }
  376. /**
  377. * @param mixed $is_gzc
  378. * @return UserBillEntity
  379. */
  380. public function setIsGzc($is_gzc): UserBillEntity
  381. {
  382. $this->is_gzc = $is_gzc;
  383. return $this;
  384. }
  385. /**
  386. * @return mixed
  387. */
  388. public function getTakeTime()
  389. {
  390. return $this->take_time;
  391. }
  392. /**
  393. * @param mixed $take_time
  394. * @return UserBillEntity
  395. */
  396. public function setTakeTime($take_time): UserBillEntity
  397. {
  398. $this->take_time = $take_time;
  399. return $this;
  400. }
  401. /**
  402. * @return mixed
  403. */
  404. public function getDistrictId()
  405. {
  406. return $this->district_id;
  407. }
  408. /**
  409. * @param mixed $district_id
  410. * @return UserBillEntity
  411. */
  412. public function setDistrictId($district_id): UserBillEntity
  413. {
  414. $this->district_id = $district_id;
  415. return $this;
  416. }
  417. /**
  418. * @return mixed
  419. */
  420. public function getStreetId()
  421. {
  422. return $this->street_id;
  423. }
  424. /**
  425. * @param mixed $street_id
  426. * @return UserBillEntity
  427. */
  428. public function setStreetId($street_id): UserBillEntity
  429. {
  430. $this->street_id = $street_id;
  431. return $this;
  432. }
  433. /**
  434. * @return mixed
  435. */
  436. public function getMonth()
  437. {
  438. return $this->month;
  439. }
  440. /**
  441. * @param mixed $month
  442. * @return UserBillEntity
  443. */
  444. public function setMonth($month): UserBillEntity
  445. {
  446. $this->month = $month;
  447. return $this;
  448. }
  449. /**
  450. * @return mixed
  451. */
  452. public function getNum()
  453. {
  454. return $this->num;
  455. }
  456. /**
  457. * @param mixed $num
  458. * @return UserBillEntity
  459. */
  460. public function setNum($num): UserBillEntity
  461. {
  462. $this->num = $num;
  463. return $this;
  464. }
  465. }