tenant

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAutoCreateProjectToMap

func RegisterAutoCreateProjectToMap(in []*RegisterAutoCreateProject) (map[int64]*RegisterAutoCreateProject, int64)

Types

type RegisterAutoCreateArea

type RegisterAutoCreateArea struct {
	ID           int64  `json:"id"`
	AreaName     string `json:"areaName"`
	AreaImg      string `json:"areaImg"`
	IsSysCreated int64  `json:"isSysCreated"` //是否是系统创建的,系统创建的只有管理员可以删除
}

type RegisterAutoCreateProject

type RegisterAutoCreateProject struct {
	ID           int64                             `json:"id"`
	ProjectName  string                            `json:"projectName"`
	IsSysCreated int64                             `json:"isSysCreated"` //是否是系统创建的,系统创建的只有管理员可以删除
	Areas        []*RegisterAutoCreateArea         `json:"areas"`
	AreaMap      map[int64]*RegisterAutoCreateArea `json:"-"`
	MaxAreaID    int64                             `json:"-"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL