PartnerRankModel.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace App\Models\Appearance;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Appearance\PartnerRankModel
  6. *
  7. * @property int $id
  8. * @property string $type 榜单类型
  9. * @property string $date 日期
  10. * @property int $partner_id 卡片
  11. * @property int $sex 性别
  12. * @property string $school
  13. * @property int $count 投票数
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel newModelQuery()
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel newQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel query()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel whereCount($value)
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel whereDate($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel whereId($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel wherePartnerId($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel whereSchool($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel whereSex($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\PartnerRankModel whereType($value)
  24. * @mixin \Eloquent
  25. */
  26. class PartnerRankModel extends Model
  27. {
  28. //
  29. protected $table = 'fpdx_appearance_partner_ranks';
  30. public $timestamps = false;
  31. protected $fillable = ['type', 'sex', 'partner_id', 'count', 'date', 'school'];
  32. }