Files
b2b/app/model/dbmodel/ps_homeslider_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 TableNamePsHomesliderSlidesLang = "ps_homeslider_slides_lang"
// PsHomesliderSlidesLang mapped from table <ps_homeslider_slides_lang>
type PsHomesliderSlidesLang 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 PsHomesliderSlidesLang's table name
func (*PsHomesliderSlidesLang) TableName() string {
return TableNamePsHomesliderSlidesLang
}
var PsHomesliderSlidesLangCols = 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((&PsHomesliderSlidesLang{}).TableName(), "id_homeslider_slides"),
IDLang: gormcol.Field{}.Set((&PsHomesliderSlidesLang{}).TableName(), "id_lang"),
Title: gormcol.Field{}.Set((&PsHomesliderSlidesLang{}).TableName(), "title"),
Description: gormcol.Field{}.Set((&PsHomesliderSlidesLang{}).TableName(), "description"),
Legend: gormcol.Field{}.Set((&PsHomesliderSlidesLang{}).TableName(), "legend"),
URL: gormcol.Field{}.Set((&PsHomesliderSlidesLang{}).TableName(), "url"),
Image: gormcol.Field{}.Set((&PsHomesliderSlidesLang{}).TableName(), "image"),
}