UserModel.php 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. namespace App\Models\Gteam;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Gteam\UserModel
  6. *
  7. * @property int $uid
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  10. * @property int|null $login_at 登陆时间
  11. * @property string|null $weixin 微信
  12. * @property string|null $qq QQ
  13. * @property int $credit 信誉值
  14. * @property int $succ_cnt 成功次数
  15. * @property int $friend_cnt 好友数
  16. * @property int $cj_wx_rank 吃鸡微信段位
  17. * @property int $cj_qq_rank 吃鸡QQ段位
  18. * @property int $wz_wx_rank 王者微信段位
  19. * @property int $wz_qq_rank 王者QQ段位
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel newModelQuery()
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel newQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel query()
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereCjQqRank($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereCjWxRank($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereCredit($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereFriendCnt($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereLoginAt($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereQq($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereSuccCnt($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereUid($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereUpdatedAt($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereWeixin($value)
  34. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereWzQqRank($value)
  35. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Gteam\UserModel whereWzWxRank($value)
  36. * @mixin \Eloquent
  37. */
  38. class UserModel extends Model
  39. {
  40. //
  41. protected $table = 'kdgx_gteam_user';
  42. protected $dateFormat = 'U';
  43. protected $primaryKey = 'uid';
  44. protected $fillable = [
  45. 'uid',
  46. 'created_at',
  47. 'updated_at',
  48. 'login_at',
  49. 'weixin',
  50. 'qq',
  51. 'credit',
  52. 'succ_cnt',
  53. 'friend_cnt',
  54. 'cj_wx_rank',
  55. 'wz_wx_rank'
  56. ];
  57. }