fix: issue of tenant status for all features
This commit is contained in:
@@ -4,7 +4,7 @@ package model
|
||||
type SysTenant struct {
|
||||
// 租户ID
|
||||
TenantID string `json:"tenantId"`
|
||||
// 父部门ID
|
||||
// 父租户ID
|
||||
ParentID string `json:"parentId" binding:"required"`
|
||||
// 祖级列表
|
||||
Ancestors string `json:"ancestors"`
|
||||
@@ -16,7 +16,7 @@ type SysTenant struct {
|
||||
TenancyType string `json:"tenancyType"`
|
||||
// tenancy key: key of sd-sst, apn, imsi, msisdn
|
||||
TenancyKey string `json:"tenancyKey"`
|
||||
// 部门状态(0正常 1停用)
|
||||
// 租户状态(0正常 1停用)
|
||||
Status string `json:"status"`
|
||||
// 删除标志(0代表存在 1代表删除)
|
||||
DelFlag string `json:"delFlag"`
|
||||
@@ -31,9 +31,9 @@ type SysTenant struct {
|
||||
|
||||
// ====== 非数据库字段属性 ======
|
||||
|
||||
// 子部门列表
|
||||
// 子租户列表
|
||||
Children []SysTenant `json:"children,omitempty"`
|
||||
|
||||
// 父部门名称
|
||||
// 父租户名称
|
||||
ParentName string `json:"parentName,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user