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 TableNamePsMaalEventsLang = "ps_maal_events_lang"
// PsMaalEventsLang mapped from table <ps_maal_events_lang>
type PsMaalEventsLang struct {
IDEventLang int32 `gorm:"column:id_event_lang;primaryKey;autoIncrement:true" json:"id_event_lang"`
IDEvent int32 `gorm:"column:id_event;not null;index:id_event_id_lang,priority:1" json:"id_event"`
IDLang int32 `gorm:"column:id_lang;not null;index:id_event_id_lang,priority:2" json:"id_lang"`
PostTitle *string `gorm:"column:post_title" json:"post_title"`
MetaTitle *string `gorm:"column:meta_title" json:"meta_title"`
MetaDescription *string `gorm:"column:meta_description" json:"meta_description"`
ContentTop *string `gorm:"column:content_top" json:"content_top"`
ContentMiddle *string `gorm:"column:content_middle" json:"content_middle"`
ContentBottom *string `gorm:"column:content_bottom" json:"content_bottom"`
LinkRewrite *string `gorm:"column:link_rewrite" json:"link_rewrite"`
}
// TableName PsMaalEventsLang's table name
func (*PsMaalEventsLang) TableName() string {
return TableNamePsMaalEventsLang
}