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

42 lines
1.7 KiB
Go

// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
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
}
var PsMaalSliderSlidesLangCols = struct {
IDHomesliderSlides gormcol.Field
IDLang gormcol.Field
Title gormcol.Field
Description gormcol.Field
Legend gormcol.Field
URL gormcol.Field
Image gormcol.Field
}{
IDHomesliderSlides: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "id_homeslider_slides"),
IDLang: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "id_lang"),
Title: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "title"),
Description: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "description"),
Legend: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "legend"),
URL: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "url"),
Image: gormcol.Field{}.Set((&PsMaalSliderSlidesLang{}).TableName(), "image"),
}