add models generation and josn print

This commit is contained in:
2026-03-26 02:22:14 +01:00
parent 7c5a993623
commit af2b276599
319 changed files with 7394 additions and 27 deletions

View File

@@ -0,0 +1,26 @@
// 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 prestadb
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
}