Files
gormcol/app/model/dbmodel/ps_attribute_group_lang.go

35 lines
1.4 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 TableNamePsAttributeGroupLang = "ps_attribute_group_lang"
// PsAttributeGroupLang mapped from table <ps_attribute_group_lang>
type PsAttributeGroupLang struct {
IDAttributeGroup int32 `gorm:"column:id_attribute_group;primaryKey;index:IDX_4653726C67A664FB,priority:1" json:"id_attribute_group"`
IDLang int32 `gorm:"column:id_lang;primaryKey;index:IDX_4653726CBA299860,priority:1" json:"id_lang"`
Name string `gorm:"column:name;not null" json:"name"`
PublicName string `gorm:"column:public_name;not null" json:"public_name"`
}
// TableName PsAttributeGroupLang's table name
func (*PsAttributeGroupLang) TableName() string {
return TableNamePsAttributeGroupLang
}
var PsAttributeGroupLangCols = struct {
IDAttributeGroup gormcol.Field
IDLang gormcol.Field
Name gormcol.Field
PublicName gormcol.Field
}{
IDAttributeGroup: gormcol.Field{Table: TableNamePsAttributeGroupLang, Column: "id_attribute_group"},
IDLang: gormcol.Field{Table: TableNamePsAttributeGroupLang, Column: "id_lang"},
Name: gormcol.Field{Table: TableNamePsAttributeGroupLang, Column: "name"},
PublicName: gormcol.Field{Table: TableNamePsAttributeGroupLang, Column: "public_name"},
}