AppearanceModel.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. namespace App\Models\Appearance;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Appearance\AppearanceModel
  6. *
  7. * @property int $id
  8. * @property \Illuminate\Support\Carbon $created_at 创建时间
  9. * @property \Illuminate\Support\Carbon $updated_at 更新时间
  10. * @property int $uid 用户
  11. * @property int $partner_id 卡片ID
  12. * @property string $school 学校
  13. * @property string $province 省份
  14. * @property string $city 城市
  15. * @property int $sex 性别
  16. * @property int $state 状态:
  17. * -1=申请失败;
  18. * 0=申请;
  19. * 1=下榜;
  20. * 2=上榜
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel newModelQuery()
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel newQuery()
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel query()
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereCity($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereCreatedAt($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereId($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel wherePartnerId($value)
  28. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereProvince($value)
  29. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereSchool($value)
  30. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereSex($value)
  31. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereState($value)
  32. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereUid($value)
  33. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Appearance\AppearanceModel whereUpdatedAt($value)
  34. * @mixin \Eloquent
  35. */
  36. class AppearanceModel extends Model
  37. {
  38. //
  39. protected $table = 'fpdx_appearances';
  40. protected $dateFormat = 'U';
  41. protected $fillable = ['uid', 'province', 'city', 'sex', 'state', 'partner_id', 'school'];
  42. }