UserUpdate.php 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: Bear
  5. * Date: 2020/6/20
  6. * Time: 下午1:45
  7. */
  8. namespace app\source\model;
  9. /**
  10. * @property $id int
  11. * @property $nickname string
  12. * @property $sex string
  13. * @property $mobile string
  14. * @property $avatar string
  15. * @property $is_subscribe string
  16. * @property $is_white int
  17. * @property $first_cancel_pay int
  18. * @property $follow_referral_id int
  19. * @property $subscribe_time int
  20. * @property $operate_time int
  21. * @property $is_pay string
  22. * @property $kandian int
  23. * @property $free_kandian int
  24. * @property $vip_endtime int
  25. * @property $register_ip string
  26. * @property $country string
  27. * @property $area string
  28. * @property $province string
  29. * @property $city string
  30. * @property $isp string
  31. * @property $channel_id int
  32. * @property $state string
  33. * @property $createtime int
  34. * @property $updatetime int
  35. * @property $has_first_unpay string
  36. * @property $is_first_unfollow string
  37. * @property $city_code string
  38. * @property $agent_id int
  39. * @property $referral_id int
  40. * @property $referral_id_permanent int
  41. * @property $ext string
  42. * @property $business_line string
  43. * @property $bindtime int
  44. * @property $is_black int
  45. * @property $flush_state int
  46. * @property $addvipday int
  47. * @property $os int
  48. * @property $kuaifen int
  49. * @property $vip_starttime int
  50. * Class UserUpdate
  51. * @package app\source\model
  52. */
  53. class UserUpdate extends InitUpdate
  54. {
  55. public $fieldsMethod = [
  56. 'id' => 'setId',
  57. // 'openid' => 'setOpenid',
  58. // 'unionid' => 'setUnionid',
  59. // 'visitor' => 'setVisitor',
  60. 'nickname' => 'setNickname',
  61. 'sex' => 'setSex',
  62. 'mobile' => 'setMobile',
  63. 'avatar' => 'setAvatar',
  64. 'is_subscribe' => 'setIsSubscribe',
  65. // 'subscription_extend' => 'setSubscriptionExtend',
  66. // 'book_category_ids' => 'setBookCategoryIds',
  67. 'is_pay' => 'setIsPay',
  68. 'register_ip' => 'setRegisterIp',
  69. 'country' => 'setCountry',
  70. 'area' => 'setArea',
  71. 'province' => 'setProvince',
  72. 'city' => 'setCity',
  73. 'isp' => 'setIsp',
  74. 'state' => 'setState',
  75. 'has_first_unpay' => 'setHasFirstUnpay',
  76. 'is_first_unfollow' => 'setIsFirstUnfollow',
  77. 'city_code' => 'setCityCode',
  78. 'ext' => 'setExt',
  79. 'business_line' => 'setBusinessLine',
  80. 'is_white' => 'setIsWhite',
  81. 'first_cancel_pay' => 'setFirstCancelPay',
  82. 'follow_referral_id' => 'setFollowReferralId',
  83. 'subscribe_time' => 'setSubscribeTime',
  84. 'operate_time' => 'setOperateTime',
  85. 'kandian' => 'setKandian',
  86. 'free_kandian' => 'setFreeKandian',
  87. 'vip_endtime' => 'setVipEndtime',
  88. // 'channel_id' => 'setChannelId',
  89. 'createtime' => 'setCreatetime',
  90. 'updatetime' => 'setUpdatetime',
  91. 'agent_id' => 'setAgentId',
  92. 'referral_id' => 'setReferralId',
  93. 'referral_id_permanent' => 'setReferralIdPermanent',
  94. 'bindtime' => 'setBindtime',
  95. 'is_black' => 'setIsBlack',
  96. 'flush_state' => 'setFlushState',
  97. 'addvipday' => 'setAddvipday',
  98. 'os' => 'setOs',
  99. 'kuaifen' => 'setKuaifen',
  100. 'vip_starttime' => 'setVipStarttime',
  101. ];
  102. public function setId($id)
  103. {
  104. $this->id = (int)$id;
  105. return $this;
  106. }
  107. public function setNickname($nickname)
  108. {
  109. $this->nickname = (string)$nickname;
  110. return $this;
  111. }
  112. public function setSex($sex)
  113. {
  114. $this->sex = (string)$sex;
  115. return $this;
  116. }
  117. public function setMobile($mobile)
  118. {
  119. $this->mobile = (string)$mobile;
  120. return $this;
  121. }
  122. public function setAvatar($avatar)
  123. {
  124. $this->avatar = (string)$avatar;
  125. return $this;
  126. }
  127. public function setIsSubscribe($is_subscribe)
  128. {
  129. $this->is_subscribe = (string)$is_subscribe;
  130. return $this;
  131. }
  132. public function setIsPay($is_pay)
  133. {
  134. $this->is_pay = (string)$is_pay;
  135. return $this;
  136. }
  137. public function setRegisterIp($register_ip)
  138. {
  139. $this->register_ip = (string)$register_ip;
  140. return $this;
  141. }
  142. public function setCountry($country)
  143. {
  144. $this->country = (string)$country;
  145. return $this;
  146. }
  147. public function setArea($area)
  148. {
  149. $this->area = (string)$area;
  150. return $this;
  151. }
  152. public function setProvince($province)
  153. {
  154. $this->province = (string)$province;
  155. return $this;
  156. }
  157. public function setCity($city)
  158. {
  159. $this->city = (string)$city;
  160. return $this;
  161. }
  162. public function setIsp($isp)
  163. {
  164. $this->isp = (string)$isp;
  165. return $this;
  166. }
  167. public function setState($state)
  168. {
  169. $this->state = (string)$state;
  170. return $this;
  171. }
  172. public function setHasFirstUnpay($has_first_unpay)
  173. {
  174. $this->has_first_unpay = (string)$has_first_unpay;
  175. return $this;
  176. }
  177. public function setIsFirstUnfollow($is_first_unfollow)
  178. {
  179. $this->is_first_unfollow = (string)$is_first_unfollow;
  180. return $this;
  181. }
  182. public function setCityCode($city_code)
  183. {
  184. $this->city_code = (string)$city_code;
  185. return $this;
  186. }
  187. public function setExt($ext)
  188. {
  189. $this->ext = (string)$ext;
  190. return $this;
  191. }
  192. public function setBusinessLine($business_line)
  193. {
  194. $this->business_line = (string)$business_line;
  195. return $this;
  196. }
  197. public function setIsWhite($is_white)
  198. {
  199. $this->is_white = (int)$is_white;
  200. return $this;
  201. }
  202. public function setFirstCancelPay($first_cancel_pay)
  203. {
  204. $this->first_cancel_pay = (int)$first_cancel_pay;
  205. return $this;
  206. }
  207. public function setFollowReferralId($follow_referral_id)
  208. {
  209. $this->follow_referral_id = (int)$follow_referral_id;
  210. return $this;
  211. }
  212. public function setSubscribeTime($subscribe_time)
  213. {
  214. $this->subscribe_time = (int)$subscribe_time;
  215. return $this;
  216. }
  217. public function setOperateTime($operate_time)
  218. {
  219. $this->operate_time = (int)$operate_time;
  220. return $this;
  221. }
  222. public function setKandian($kandian)
  223. {
  224. $this->kandian = (int)$kandian;
  225. return $this;
  226. }
  227. public function setFreeKandian($free_kandian)
  228. {
  229. $this->free_kandian = (int)$free_kandian;
  230. return $this;
  231. }
  232. public function setVipEndtime($vip_endtime)
  233. {
  234. $this->vip_endtime = (int)$vip_endtime;
  235. return $this;
  236. }
  237. public function setCreatetime($createtime)
  238. {
  239. $this->createtime = (int)$createtime;
  240. return $this;
  241. }
  242. public function setUpdatetime($updatetime)
  243. {
  244. $this->updatetime = (int)$updatetime;
  245. return $this;
  246. }
  247. public function setAgentId($agent_id)
  248. {
  249. $this->agent_id = (int)$agent_id;
  250. return $this;
  251. }
  252. public function setReferralId($referral_id)
  253. {
  254. $this->referral_id = (int)$referral_id;
  255. return $this;
  256. }
  257. public function setReferralIdPermanent($referral_id_permanent)
  258. {
  259. $this->referral_id_permanent = (int)$referral_id_permanent;
  260. return $this;
  261. }
  262. public function setBindtime($bindtime)
  263. {
  264. $this->bindtime = (int)$bindtime;
  265. return $this;
  266. }
  267. public function setIsBlack($is_black)
  268. {
  269. $this->is_black = (int)$is_black;
  270. return $this;
  271. }
  272. public function setFlushState($flush_state)
  273. {
  274. $this->flush_state = (int)$flush_state;
  275. return $this;
  276. }
  277. public function setAddvipday($addvipday)
  278. {
  279. $this->addvipday = (int)$addvipday;
  280. return $this;
  281. }
  282. public function setOs($os)
  283. {
  284. $this->os = (int)$os;
  285. return $this;
  286. }
  287. public function setKuaifen($kuaifen)
  288. {
  289. $this->kuaifen = (int)$kuaifen;
  290. return $this;
  291. }
  292. public function setVipStarttime($vip_starttime)
  293. {
  294. $this->vip_starttime = (int)$vip_starttime;
  295. return $this;
  296. }
  297. // public function setUnionid($unionid)
  298. // {
  299. // $this->unionid = (string)$unionid;
  300. // }
  301. // public function setVisitor($visitor)
  302. // {
  303. // $this->visitor = (string)$visitor;
  304. // }
  305. // public function setSubscriptionExtend($subscription_extend)
  306. // {
  307. // $this->subscription_extend = (string)$subscription_extend;
  308. // }
  309. // public function setBookCategoryIds($book_category_ids)
  310. // {
  311. // $this->book_category_ids = (string)$book_category_ids;
  312. // }
  313. // public function setChannelId($channel_id)
  314. // {
  315. // $this->channel_id = (int)$channel_id;
  316. // return $this;
  317. // }
  318. // public function setOpenid($openid)
  319. // {
  320. // $this->openid = (string)$openid;
  321. // return $this;
  322. // }
  323. }