You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.0 KiB
Go
23 lines
1.0 KiB
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 TableNameFissionLangModule = "fission_lang_module"
|
|
|
|
// FissionLangModule mapped from table <fission_lang_module>
|
|
type FissionLangModule struct {
|
|
ID int64 `gorm:"column:id;type:bigint;primaryKey;autoIncrement:true" json:"id"`
|
|
CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
|
|
UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
|
|
Mark string `gorm:"column:mark;type:varchar(64);not null;uniqueIndex:uniq_mark,priority:1;comment:组件标识" json:"mark"`
|
|
Desc string `gorm:"column:desc;type:varchar(255);not null;comment:描述(用于描述用途或者一些使用提示)" json:"desc"`
|
|
Parts string `gorm:"column:parts;type:json;not null;comment:使用的语言字段" json:"parts"`
|
|
}
|
|
|
|
// TableName FissionLangModule's table name
|
|
func (*FissionLangModule) TableName() string {
|
|
return TableNameFissionLangModule
|
|
}
|