Files
b2b/app/model/dbmodel/ps_lang.go
2026-03-30 01:02:02 +02:00

51 lines
2.0 KiB
Go

// Code generated by gormcol. 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{}.Set((&PsLang{}).TableName(), "id_lang"),
Name: gormcol.Field{}.Set((&PsLang{}).TableName(), "name"),
Active: gormcol.Field{}.Set((&PsLang{}).TableName(), "active"),
IsoCode: gormcol.Field{}.Set((&PsLang{}).TableName(), "iso_code"),
CodeLong: gormcol.Field{}.Set((&PsLang{}).TableName(), "code_long"),
LanguageCode: gormcol.Field{}.Set((&PsLang{}).TableName(), "language_code"),
Locale: gormcol.Field{}.Set((&PsLang{}).TableName(), "locale"),
DateFormatLite: gormcol.Field{}.Set((&PsLang{}).TableName(), "date_format_lite"),
DateFormatFull: gormcol.Field{}.Set((&PsLang{}).TableName(), "date_format_full"),
IsRtl: gormcol.Field{}.Set((&PsLang{}).TableName(), "is_rtl"),
}