123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- <?php
- /**
- * Created by PhpStorm.
- * User: Bear
- * Date: 2020/6/20
- * Time: 下午1:45
- */
- namespace app\source\model;
- /**
- * @property $id int
- * @property $nickname string
- * @property $sex string
- * @property $mobile string
- * @property $avatar string
- * @property $is_subscribe string
- * @property $is_white int
- * @property $first_cancel_pay int
- * @property $follow_referral_id int
- * @property $subscribe_time int
- * @property $operate_time int
- * @property $is_pay string
- * @property $kandian int
- * @property $free_kandian int
- * @property $vip_endtime int
- * @property $register_ip string
- * @property $country string
- * @property $area string
- * @property $province string
- * @property $city string
- * @property $isp string
- * @property $channel_id int
- * @property $state string
- * @property $createtime int
- * @property $updatetime int
- * @property $has_first_unpay string
- * @property $is_first_unfollow string
- * @property $city_code string
- * @property $agent_id int
- * @property $referral_id int
- * @property $referral_id_permanent int
- * @property $ext string
- * @property $business_line string
- * @property $bindtime int
- * @property $is_black int
- * @property $flush_state int
- * @property $addvipday int
- * @property $os int
- * @property $kuaifen int
- * @property $vip_starttime int
- * Class UserUpdate
- * @package app\source\model
- */
- class UserUpdate extends InitUpdate
- {
- public $fieldsMethod = [
- 'id' => 'setId',
- // 'openid' => 'setOpenid',
- // 'unionid' => 'setUnionid',
- // 'visitor' => 'setVisitor',
- 'nickname' => 'setNickname',
- 'sex' => 'setSex',
- 'mobile' => 'setMobile',
- 'avatar' => 'setAvatar',
- 'is_subscribe' => 'setIsSubscribe',
- // 'subscription_extend' => 'setSubscriptionExtend',
- // 'book_category_ids' => 'setBookCategoryIds',
- 'is_pay' => 'setIsPay',
- 'register_ip' => 'setRegisterIp',
- 'country' => 'setCountry',
- 'area' => 'setArea',
- 'province' => 'setProvince',
- 'city' => 'setCity',
- 'isp' => 'setIsp',
- 'state' => 'setState',
- 'has_first_unpay' => 'setHasFirstUnpay',
- 'is_first_unfollow' => 'setIsFirstUnfollow',
- 'city_code' => 'setCityCode',
- 'ext' => 'setExt',
- 'business_line' => 'setBusinessLine',
- 'is_white' => 'setIsWhite',
- 'first_cancel_pay' => 'setFirstCancelPay',
- 'follow_referral_id' => 'setFollowReferralId',
- 'subscribe_time' => 'setSubscribeTime',
- 'operate_time' => 'setOperateTime',
- 'kandian' => 'setKandian',
- 'free_kandian' => 'setFreeKandian',
- 'vip_endtime' => 'setVipEndtime',
- // 'channel_id' => 'setChannelId',
- 'createtime' => 'setCreatetime',
- 'updatetime' => 'setUpdatetime',
- 'agent_id' => 'setAgentId',
- 'referral_id' => 'setReferralId',
- 'referral_id_permanent' => 'setReferralIdPermanent',
- 'bindtime' => 'setBindtime',
- 'is_black' => 'setIsBlack',
- 'flush_state' => 'setFlushState',
- 'addvipday' => 'setAddvipday',
- 'os' => 'setOs',
- 'kuaifen' => 'setKuaifen',
- 'vip_starttime' => 'setVipStarttime',
- ];
- public function setId($id)
- {
- $this->id = (int)$id;
- return $this;
- }
- public function setNickname($nickname)
- {
- $this->nickname = (string)$nickname;
- return $this;
- }
- public function setSex($sex)
- {
- $this->sex = (string)$sex;
- return $this;
- }
- public function setMobile($mobile)
- {
- $this->mobile = (string)$mobile;
- return $this;
- }
- public function setAvatar($avatar)
- {
- $this->avatar = (string)$avatar;
- return $this;
- }
- public function setIsSubscribe($is_subscribe)
- {
- $this->is_subscribe = (string)$is_subscribe;
- return $this;
- }
- public function setIsPay($is_pay)
- {
- $this->is_pay = (string)$is_pay;
- return $this;
- }
- public function setRegisterIp($register_ip)
- {
- $this->register_ip = (string)$register_ip;
- return $this;
- }
- public function setCountry($country)
- {
- $this->country = (string)$country;
- return $this;
- }
- public function setArea($area)
- {
- $this->area = (string)$area;
- return $this;
- }
- public function setProvince($province)
- {
- $this->province = (string)$province;
- return $this;
- }
- public function setCity($city)
- {
- $this->city = (string)$city;
- return $this;
- }
- public function setIsp($isp)
- {
- $this->isp = (string)$isp;
- return $this;
- }
- public function setState($state)
- {
- $this->state = (string)$state;
- return $this;
- }
- public function setHasFirstUnpay($has_first_unpay)
- {
- $this->has_first_unpay = (string)$has_first_unpay;
- return $this;
- }
- public function setIsFirstUnfollow($is_first_unfollow)
- {
- $this->is_first_unfollow = (string)$is_first_unfollow;
- return $this;
- }
- public function setCityCode($city_code)
- {
- $this->city_code = (string)$city_code;
- return $this;
- }
- public function setExt($ext)
- {
- $this->ext = (string)$ext;
- return $this;
- }
- public function setBusinessLine($business_line)
- {
- $this->business_line = (string)$business_line;
- return $this;
- }
- public function setIsWhite($is_white)
- {
- $this->is_white = (int)$is_white;
- return $this;
- }
- public function setFirstCancelPay($first_cancel_pay)
- {
- $this->first_cancel_pay = (int)$first_cancel_pay;
- return $this;
- }
- public function setFollowReferralId($follow_referral_id)
- {
- $this->follow_referral_id = (int)$follow_referral_id;
- return $this;
- }
- public function setSubscribeTime($subscribe_time)
- {
- $this->subscribe_time = (int)$subscribe_time;
- return $this;
- }
- public function setOperateTime($operate_time)
- {
- $this->operate_time = (int)$operate_time;
- return $this;
- }
- public function setKandian($kandian)
- {
- $this->kandian = (int)$kandian;
- return $this;
- }
- public function setFreeKandian($free_kandian)
- {
- $this->free_kandian = (int)$free_kandian;
- return $this;
- }
- public function setVipEndtime($vip_endtime)
- {
- $this->vip_endtime = (int)$vip_endtime;
- return $this;
- }
- public function setCreatetime($createtime)
- {
- $this->createtime = (int)$createtime;
- return $this;
- }
- public function setUpdatetime($updatetime)
- {
- $this->updatetime = (int)$updatetime;
- return $this;
- }
- public function setAgentId($agent_id)
- {
- $this->agent_id = (int)$agent_id;
- return $this;
- }
- public function setReferralId($referral_id)
- {
- $this->referral_id = (int)$referral_id;
- return $this;
- }
- public function setReferralIdPermanent($referral_id_permanent)
- {
- $this->referral_id_permanent = (int)$referral_id_permanent;
- return $this;
- }
- public function setBindtime($bindtime)
- {
- $this->bindtime = (int)$bindtime;
- return $this;
- }
- public function setIsBlack($is_black)
- {
- $this->is_black = (int)$is_black;
- return $this;
- }
- public function setFlushState($flush_state)
- {
- $this->flush_state = (int)$flush_state;
- return $this;
- }
- public function setAddvipday($addvipday)
- {
- $this->addvipday = (int)$addvipday;
- return $this;
- }
- public function setOs($os)
- {
- $this->os = (int)$os;
- return $this;
- }
- public function setKuaifen($kuaifen)
- {
- $this->kuaifen = (int)$kuaifen;
- return $this;
- }
- public function setVipStarttime($vip_starttime)
- {
- $this->vip_starttime = (int)$vip_starttime;
- return $this;
- }
- // public function setUnionid($unionid)
- // {
- // $this->unionid = (string)$unionid;
- // }
- // public function setVisitor($visitor)
- // {
- // $this->visitor = (string)$visitor;
- // }
- // public function setSubscriptionExtend($subscription_extend)
- // {
- // $this->subscription_extend = (string)$subscription_extend;
- // }
- // public function setBookCategoryIds($book_category_ids)
- // {
- // $this->book_category_ids = (string)$book_category_ids;
- // }
- // public function setChannelId($channel_id)
- // {
- // $this->channel_id = (int)$channel_id;
- // return $this;
- // }
- // public function setOpenid($openid)
- // {
- // $this->openid = (string)$openid;
- // return $this;
- // }
- }
|