\App\System\ModelSystemDept

Summary

Methods
Properties
Constants
roles()
$incrementing
$id
$parent_id
$level
$name
$leader
$phone
$status
$sort
$created_by
$updated_by
$created_at
$updated_at
$deleted_at
$remark
$roles
No constants found
No protected methods found
$table
$fillable
$casts
N/A
No private methods found
No private properties found
N/A

Properties

$incrementing

$incrementing : 

Type

$id

$id : integer

主键

Type

integer

$parent_id

$parent_id : integer

父ID

Type

integer

$level

$level : string

组级集合

Type

string

$name

$name : string

部门名称

Type

string

$leader

$leader : string

负责人

Type

string

$phone

$phone : string

联系电话

Type

string

$status

$status : string

状态 (0正常 1停用)

Type

string

$sort

$sort : integer

排序

Type

integer

$created_by

$created_by : integer

创建者

Type

integer

$updated_by

$updated_by : integer

更新者

Type

integer

$created_at

$created_at : \Carbon\Carbon

创建时间

Type

\Carbon\Carbon

$updated_at

$updated_at : \Carbon\Carbon

更新时间

Type

\Carbon\Carbon

$deleted_at

$deleted_at : string

删除时间

Type

string

$remark

$remark : string

备注

Type

string

$roles

$roles : \Hyperf\Database\Model\Collection|array<mixed,\App\System\Model\SystemRole>

Type

\Hyperf\Database\Model\Collection|array<mixed,\App\System\Model\SystemRole>

$table

$table : string

The table associated with the model.

Type

string

$fillable

$fillable : array

The attributes that are mass assignable.

Type

array

$casts

$casts : array

The attributes that should be cast to native types.

Type

array

Methods

roles()

roles() 

通过中间表获取角色