1234567891011121314151617 |
- <?php
- namespace App\Model;
- use Illuminate\Database\Eloquent\Model;
- class RoleMenu extends Model
- {
- protected $table = "role_menu"; //指定表
- const CREATED_AT = 'crt_time';
- const UPDATED_AT = 'upd_time';
- protected $dateFormat = 'U';
- const type_one = 1;//个人
- const type_two = 2;//部门
- const type_three = 3;//所有
- }
|