*/ protected $fillable = [ 'dept_id', 'type_id', 'dept_name', 'leader_name', 'image', 'location', 'telephone', 'sort', 'intro', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'id' => 'integer', 'type_id' => 'integer', 'sort' => 'integer', ]; }