- package dao
- import "server/global"
- // Cluster 群组
- type Cluster struct {
- global.GVA_MODEL
- AreaID uint `json:"areaId" gorm:"column:area_id;comment:所属分区ID"`
- ClusterNo string `json:"clusterNo" gorm:"column:cluster_no;comment:组号"`
- ClusterName string `json:"cluster_name;comment:群组名称"`
- }
- func (Cluster) TableName() string {
- return "cluster"
- }
|