<?php

namespace App\Models;

use App\Traits\Macroable;
use Encore\Admin\Traits\DefaultDatetimeFormat;
use Illuminate\Database\Eloquent\Model as Eloquent;

class Model extends Eloquent
{

    use DefaultDatetimeFormat,
        Macroable;

    /**
     * 进制批量写入的字段
     * @var array
     */
    protected $guarded = [];

    /**
     * 修改模型默认分页数量
     * @var int
     */
    protected $perPage = 10;

}
