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