35 lines
1.1 KiB
Go
35 lines
1.1 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 dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsInfoLang = "ps_info_lang"
|
|
|
|
// PsInfoLang mapped from table <ps_info_lang>
|
|
type PsInfoLang struct {
|
|
IDInfo int32 `gorm:"column:id_info;primaryKey" json:"id_info"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
|
|
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
|
Text string `gorm:"column:text;not null" json:"text"`
|
|
}
|
|
|
|
// TableName PsInfoLang's table name
|
|
func (*PsInfoLang) TableName() string {
|
|
return TableNamePsInfoLang
|
|
}
|
|
|
|
var PsInfoLangCols = struct {
|
|
IDInfo gormcol.Field
|
|
IDShop gormcol.Field
|
|
IDLang gormcol.Field
|
|
Text gormcol.Field
|
|
}{
|
|
IDInfo: gormcol.Field{Table: TableNamePsInfoLang, Column: "id_info"},
|
|
IDShop: gormcol.Field{Table: TableNamePsInfoLang, Column: "id_shop"},
|
|
IDLang: gormcol.Field{Table: TableNamePsInfoLang, Column: "id_lang"},
|
|
Text: gormcol.Field{Table: TableNamePsInfoLang, Column: "text"},
|
|
}
|