add models generation and josn print
This commit is contained in:
26
app/model/prestadb/ps_lang.go
Normal file
26
app/model/prestadb/ps_lang.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user