rts-sim-testing-service/db/model/project_publish_link.gen.go

20 lines
759 B
Go
Raw Permalink Normal View History

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
const TableNameProjectPublishLink = "project_publish_link"
// ProjectPublishLink mapped from table <project_publish_link>
type ProjectPublishLink struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键" json:"id"` // 主键
Pid int32 `gorm:"column:pid;comment:项目主键" json:"pid"` // 项目主键
Mid int32 `gorm:"column:mid;comment:发布的地图ID" json:"mid"` // 发布的地图ID
}
// TableName ProjectPublishLink's table name
func (*ProjectPublishLink) TableName() string {
return TableNameProjectPublishLink
}