add models generation and josn print
This commit is contained in:
23
app/model/prestadb/ps_maal_slider_slides_lang.go
Normal file
23
app/model/prestadb/ps_maal_slider_slides_lang.go
Normal file
@@ -0,0 +1,23 @@
|
||||
// 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 TableNamePsMaalSliderSlidesLang = "ps_maal_slider_slides_lang"
|
||||
|
||||
// PsMaalSliderSlidesLang mapped from table <ps_maal_slider_slides_lang>
|
||||
type PsMaalSliderSlidesLang struct {
|
||||
IDHomesliderSlides int32 `gorm:"column:id_homeslider_slides;primaryKey" json:"id_homeslider_slides"`
|
||||
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
||||
Title string `gorm:"column:title;not null" json:"title"`
|
||||
Description string `gorm:"column:description;not null" json:"description"`
|
||||
Legend string `gorm:"column:legend;not null" json:"legend"`
|
||||
URL string `gorm:"column:url;not null" json:"url"`
|
||||
Image string `gorm:"column:image;not null" json:"image"`
|
||||
}
|
||||
|
||||
// TableName PsMaalSliderSlidesLang's table name
|
||||
func (*PsMaalSliderSlidesLang) TableName() string {
|
||||
return TableNamePsMaalSliderSlidesLang
|
||||
}
|
||||
Reference in New Issue
Block a user