2023-07-14 10:16:58 +08:00
|
|
|
// 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"` // 发布时间
|
2023-08-04 11:54:19 +08:00
|
|
|
Category int32 `gorm:"column:category;comment:厂家信息" json:"category"` // 厂家信息
|
|
|
|
Note string `gorm:"column:note;comment:发布描述" json:"note"` // 发布描述
|
2023-08-07 15:05:37 +08:00
|
|
|
Status int32 `gorm:"column:status;default:1;comment:显示状态" json:"status"` // 显示状态
|
2023-07-14 10:16:58 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// TableName PublishedGi's table name
|
|
|
|
func (*PublishedGi) TableName() string {
|
|
|
|
return TableNamePublishedGi
|
|
|
|
}
|