26 lines
1.0 KiB
Go
26 lines
1.0 KiB
Go
// 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 TableNamePsCmsLang = "ps_cms_lang"
|
|
|
|
// PsCmsLang mapped from table <ps_cms_lang>
|
|
type PsCmsLang struct {
|
|
IDCms int32 `gorm:"column:id_cms;primaryKey" json:"id_cms"`
|
|
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey;default:1" json:"id_shop"`
|
|
MetaTitle string `gorm:"column:meta_title;not null" json:"meta_title"`
|
|
HeadSeoTitle *string `gorm:"column:head_seo_title" json:"head_seo_title"`
|
|
MetaDescription *string `gorm:"column:meta_description" json:"meta_description"`
|
|
MetaKeywords *string `gorm:"column:meta_keywords" json:"meta_keywords"`
|
|
Content *string `gorm:"column:content" json:"content"`
|
|
LinkRewrite string `gorm:"column:link_rewrite;not null" json:"link_rewrite"`
|
|
}
|
|
|
|
// TableName PsCmsLang's table name
|
|
func (*PsCmsLang) TableName() string {
|
|
return TableNamePsCmsLang
|
|
}
|