|
id
|
int(10) unsigned
|
|
|
|
|
organization_id
|
int(10) unsigned
|
|
|
|
|
parent_id
|
int(10) unsigned
|
|
|
|
|
name
|
varchar(160)
|
|
|
|
|
code
|
varchar(40)
|
|
|
|
|
kind
|
enum
|
-- |
|
department
|
|
description
|
text
|
|
|
|
|
head_employee_id
|
int(10) unsigned
|
|
|
|
|
sort_order
|
int(11)
|
|
|
0
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
current_timestamp()
|