SchoolModel.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\SchoolModel
  6. *
  7. * @property int $id
  8. * @property string $province 省市
  9. * @property string $city 城市
  10. * @property string $school 学校名称
  11. * @property int $education 0未知1专科以下2专科3本科4成人大学
  12. * @property string $type 院校类型
  13. * @property int $number 人数
  14. * @property int $create_time 创建时间
  15. * @property int $update_time 修改时间
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel newModelQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel newQuery()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel query()
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereCity($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereCreateTime($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereEducation($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereId($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereNumber($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereProvince($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereSchool($value)
  26. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereType($value)
  27. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\SchoolModel whereUpdateTime($value)
  28. * @mixin \Eloquent
  29. */
  30. class SchoolModel extends Model
  31. {
  32. //
  33. protected $table = 'school';
  34. public $dateFormat = 'U';
  35. public $fillable = ['id', 'province', 'city', 'school', 'education', 'type', 'number'];
  36. }