Documentation
¶
Index ¶
Constants ¶
View Source
const TableNameSpaceInfo = "space_info"
View Source
const TableNameSpaceType = "space_type"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpaceInfo ¶
type SpaceInfo struct {
*v.Model
URL string `gorm:"column:url;type:varchar(255);not null;comment:地址" json:"url"` // 地址
Type string `gorm:"column:type;type:varchar(255);not null;comment:类型" json:"type"` // 类型
ClassifyID *int64 `gorm:"column:classifyId;type:bigint;comment:分类ID" json:"classifyId"` // 分类ID
}
SpaceInfo mapped from table <space_info>
type SpaceType ¶
type SpaceType struct {
*v.Model
Name string `gorm:"column:name;type:varchar(255);not null;comment:类别名称 " json:"name"` // 类别名称
ParentID *int32 `gorm:"column:parentId;comment:父分类ID" json:"parentId"` // 父分类ID
}
SpaceType mapped from table <space_type>
Click to show internal directories.
Click to hide internal directories.