36 lines
643 B
PHP
36 lines
643 B
PHP
<?php
|
|||
|
|
declare(strict_types=1);
|
||
|
|
/**
|
||
|
|
*+------------------
|
||
|
|
* madong
|
||
|
|
*+------------------
|
||
|
|
* Copyright (c) https://gitee.com/motion-code All rights reserved.
|
||
|
|
*+------------------
|
||
|
|
* Author: Mr. April (405784684@qq.com)
|
||
|
|
*+------------------
|
||
|
|
* Official Website: http://www.madong.cn
|
||
|
|
*/
|
||
|
|
|
||
|
|
namespace app\model\org;
|
||
|
|
|
||
|
|
use Illuminate\Database\Eloquent\Relations\Pivot;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 关联模型
|
||
|
|
*
|
||
|
|
* @author Mr.April
|
||
|
|
* @since 1.0
|
||
|
|
*/
|
||
|
|
class DeptLeader extends Pivot
|
||
|
|
{
|
||
|
|
protected $table = 'sys_dept_leader';
|
||
|
|
|
||
|
|
// protected $appends = ['created_date', 'updated_date'];
|
||
|
|
|
||
|
|
protected $fillable = [
|
||
|
|
'dept_id',
|
||
|
|
'admin_id',
|
||
|
|
];
|
||
|
|
|
||
|
|
}
|