23 lines
1011 B
Go
23 lines
1011 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 TableNamePublished = "published"
|
|
|
|
// Published mapped from table <published>
|
|
type Published struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:id" json:"id"` // id
|
|
Code string `gorm:"column:code;not null;comment:发布名称" json:"code"` // 发布名称
|
|
Category string `gorm:"column:category;comment:厂家信息" json:"category"` // 厂家信息
|
|
DataID int32 `gorm:"column:data_id;comment:版本Id" json:"data_id"` // 版本Id
|
|
Type int32 `gorm:"column:type;comment:数据类型" json:"type"` // 数据类型
|
|
Status int32 `gorm:"column:status;default:1;comment:显示状态" json:"status"` // 显示状态
|
|
}
|
|
|
|
// TableName Published's table name
|
|
func (*Published) TableName() string {
|
|
return TableNamePublished
|
|
}
|