geoGo/internal/data/model/plat.gen.go

26 lines
932 B
Go

// 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 TableNamePlat = "plat"
// Plat mapped from table <plat>
type Plat struct {
ID int32 `gorm:"column:id;primaryKey" json:"id"`
Name string `gorm:"column:name;not null" json:"name"`
Index string `gorm:"column:index;not null" json:"index"`
ImgURL string `gorm:"column:img_url;not null" json:"img_url"`
LoginURL string `gorm:"column:login_url;not null" json:"login_url"`
EditURL string `gorm:"column:edit_url;not null" json:"edit_url"`
LoginedURL string `gorm:"column:logined_url;not null" json:"logined_url"`
Desc string `gorm:"column:desc;not null" json:"desc"`
Status bool `gorm:"column:status;not null;default:1" json:"status"`
}
// TableName Plat's table name
func (*Plat) TableName() string {
return TableNamePlat
}