26 lines
998 B
Go
26 lines
998 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
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNamePublishedGi = "published_gi"
|
|
|
|
// PublishedGi mapped from table <published_gi>
|
|
type PublishedGi struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:id" json:"id"` // id
|
|
Name string `gorm:"column:name;not null;comment:发布图形界面名称" json:"name"` // 发布图形界面名称
|
|
Proto []byte `gorm:"column:proto;not null;comment:图形界面数据" json:"proto"` // 图形界面数据
|
|
UserID int32 `gorm:"column:user_id;not null;comment:发布用户id" json:"user_id"` // 发布用户id
|
|
PublishAt time.Time `gorm:"column:publish_at;not null;comment:发布时间" json:"publish_at"` // 发布时间
|
|
}
|
|
|
|
// TableName PublishedGi's table name
|
|
func (*PublishedGi) TableName() string {
|
|
return TableNamePublishedGi
|
|
}
|