fix products listing
This commit is contained in:
29
app/model/dbmodel/ps_gender_lang.go
Normal file
29
app/model/dbmodel/ps_gender_lang.go
Normal file
@@ -0,0 +1,29 @@
|
||||
// Code generated by gormcol. DO NOT EDIT.
|
||||
|
||||
package dbmodel
|
||||
|
||||
import "git.ma-al.com/goc_marek/gormcol"
|
||||
|
||||
const TableNamePsGenderLang = "ps_gender_lang"
|
||||
|
||||
// PsGenderLang mapped from table <ps_gender_lang>
|
||||
type PsGenderLang struct {
|
||||
IDGender int32 `gorm:"column:id_gender;primaryKey;index:id_gender,priority:1" json:"id_gender"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
Name string `gorm:"column:name;not null" json:"name"`
|
||||
}
|
||||
|
||||
// TableName PsGenderLang's table name
|
||||
func (*PsGenderLang) TableName() string {
|
||||
return TableNamePsGenderLang
|
||||
}
|
||||
|
||||
var PsGenderLangCols = struct {
|
||||
IDGender gormcol.Field
|
||||
IDLang gormcol.Field
|
||||
Name gormcol.Field
|
||||
}{
|
||||
IDGender: gormcol.Field{}.Set((&PsGenderLang{}).TableName(), "id_gender"),
|
||||
IDLang: gormcol.Field{}.Set((&PsGenderLang{}).TableName(), "id_lang"),
|
||||
Name: gormcol.Field{}.Set((&PsGenderLang{}).TableName(), "name"),
|
||||
}
|
||||
Reference in New Issue
Block a user