新增
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package deptResponse
|
||||
|
||||
import "hospital-admin-api/api/model"
|
||||
|
||||
// GetDeptList 获取部门列表
|
||||
type GetDeptList struct {
|
||||
DeptId string `json:"dept_id"`
|
||||
ParentId string `json:"parent_id"` // 父菜单ID(0表示一级)
|
||||
DeptName string `json:"dept_name"` // 部门名称
|
||||
DeptStatus int `json:"dept_status"` // 部门状态(1:正常 2:删除)
|
||||
CreatedAt model.LocalTime `json:"created_at"` // 创建时间
|
||||
UpdatedAt model.LocalTime `json:"updated_at"` // 修改时间
|
||||
Children []*GetDeptList `json:"children"` // 下级页面
|
||||
}
|
||||
Reference in New Issue
Block a user