UserInfoModel.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * 口袋微信客服好友信息表
  4. * User: easyboom
  5. * Date: 2019/1/7
  6. * Time: 下午6:03
  7. */
  8. namespace App\Models\Wxkf;
  9. use App\Models\Model;
  10. /**
  11. * App\Models\Wxkf\UserInfoModel
  12. *
  13. * @property int $id
  14. * @property \Illuminate\Support\Carbon $created_at 创建时间
  15. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  16. * @property string $wxkf_wxid 微信客服id
  17. * @property string $wxid 微信id
  18. * @property string|null $wx_alias 微信号
  19. * @property string|null $nickname 微信昵称
  20. * @property string|null $head_img 头像的url地址
  21. * @property int $sex 性别:0或者1,默认是0,1代表女性
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel newModelQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel newQuery()
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel query()
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereHeadImg($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereId($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereNickname($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereSex($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereUpdatedAt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereWxAlias($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereWxid($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Wxkf\UserInfoModel whereWxkfWxid($value)
  34. * @mixin \Eloquent
  35. */
  36. class UserInfoModel extends Model
  37. {
  38. protected $table = "kdgx_wxkf_userinfo";
  39. public $fillable = [
  40. 'id',
  41. 'created_at',
  42. 'updated_at',
  43. 'wxkf_wxid',
  44. 'wxid',
  45. 'wx_alias',
  46. 'nickname',
  47. 'head_img',
  48. 'sex'
  49. ];
  50. public $dateFormat = 'U';
  51. }