add multi-tenant
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package model
|
||||
|
||||
// SysTenant 部门对象 sys_Tenant
|
||||
// SysTenant 租户对象 sys_Tenant
|
||||
type SysTenant struct {
|
||||
// 部门ID
|
||||
// 租户ID
|
||||
TenantID string `json:"tenantId"`
|
||||
// 父部门ID
|
||||
ParentID string `json:"parentId" binding:"required"`
|
||||
// 祖级列表
|
||||
Ancestors string `json:"ancestors"`
|
||||
// 部门名称
|
||||
// 租户名称
|
||||
TenantName string `json:"tenantName" binding:"required"`
|
||||
// 显示顺序
|
||||
OrderNum int `json:"orderNum"`
|
||||
|
||||
Reference in New Issue
Block a user