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

53 lines
2.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 TableNamePsLang = "ps_lang"
// PsLang mapped from table <ps_lang>
type PsLang struct {
IDLang int32 `gorm:"column:id_lang;primaryKey;autoIncrement:true" json:"id_lang"`
Name string `gorm:"column:name;not null" json:"name"`
Active bool `gorm:"column:active;not null" json:"active"`
IsoCode string `gorm:"column:iso_code;not null" json:"iso_code"`
CodeLong string `gorm:"column:code_long;not null" json:"code_long"`
LanguageCode string `gorm:"column:language_code;not null" json:"language_code"`
Locale string `gorm:"column:locale;not null" json:"locale"`
DateFormatLite string `gorm:"column:date_format_lite;not null" json:"date_format_lite"`
DateFormatFull string `gorm:"column:date_format_full;not null" json:"date_format_full"`
IsRtl bool `gorm:"column:is_rtl;not null" json:"is_rtl"`
}
// TableName PsLang's table name
func (*PsLang) TableName() string {
return TableNamePsLang
}
var PsLangCols = struct {
IDLang gormcol.Field
Name gormcol.Field
Active gormcol.Field
IsoCode gormcol.Field
CodeLong gormcol.Field
LanguageCode gormcol.Field
Locale gormcol.Field
DateFormatLite gormcol.Field
DateFormatFull gormcol.Field
IsRtl gormcol.Field
}{
IDLang: gormcol.Field{Table: TableNamePsLang, Column: "id_lang"},
Name: gormcol.Field{Table: TableNamePsLang, Column: "name"},
Active: gormcol.Field{Table: TableNamePsLang, Column: "active"},
IsoCode: gormcol.Field{Table: TableNamePsLang, Column: "iso_code"},
CodeLong: gormcol.Field{Table: TableNamePsLang, Column: "code_long"},
LanguageCode: gormcol.Field{Table: TableNamePsLang, Column: "language_code"},
Locale: gormcol.Field{Table: TableNamePsLang, Column: "locale"},
DateFormatLite: gormcol.Field{Table: TableNamePsLang, Column: "date_format_lite"},
DateFormatFull: gormcol.Field{Table: TableNamePsLang, Column: "date_format_full"},
IsRtl: gormcol.Field{Table: TableNamePsLang, Column: "is_rtl"},
}