<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class School extends Model
{
    // 指定表名
    protected $table = 'school';

    // 设置主键
    protected $primaryKey = 'id';

    // 填充的字段
    protected $fillable = ['school', 'name', 'phone', 'password', 'schoolinfo', 'schooltype', 'gradetype', 'num', 'address','updated_at', 'created_at'];
}
