32 lines
1.7 KiB
Go
32 lines
1.7 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 TableNamePsProductLang = "ps_product_lang"
|
|
|
|
// PsProductLang mapped from table <ps_product_lang>
|
|
type PsProductLang struct {
|
|
IDProduct int32 `gorm:"column:id_product;primaryKey;index:idx_ps_product_lang,priority:1" json:"id_product"`
|
|
IDShop int32 `gorm:"column:id_shop;primaryKey;index:idx_ps_product_lang,priority:2;default:1" json:"id_shop"`
|
|
IDLang int32 `gorm:"column:id_lang;primaryKey;index:idx_ps_product_lang,priority:3;index:id_lang,priority:1" json:"id_lang"`
|
|
Description *string `gorm:"column:description" json:"description"`
|
|
DescriptionShort *string `gorm:"column:description_short" json:"description_short"`
|
|
LinkRewrite string `gorm:"column:link_rewrite;not null" json:"link_rewrite"`
|
|
MetaDescription *string `gorm:"column:meta_description" json:"meta_description"`
|
|
MetaKeywords *string `gorm:"column:meta_keywords" json:"meta_keywords"`
|
|
MetaTitle *string `gorm:"column:meta_title" json:"meta_title"`
|
|
Name string `gorm:"column:name;not null;index:name,priority:1" json:"name"`
|
|
AvailableNow *string `gorm:"column:available_now" json:"available_now"`
|
|
AvailableLater *string `gorm:"column:available_later" json:"available_later"`
|
|
DeliveryInStock *string `gorm:"column:delivery_in_stock" json:"delivery_in_stock"`
|
|
DeliveryOutStock *string `gorm:"column:delivery_out_stock" json:"delivery_out_stock"`
|
|
Usage *string `gorm:"column:usage" json:"usage"`
|
|
}
|
|
|
|
// TableName PsProductLang's table name
|
|
func (*PsProductLang) TableName() string {
|
|
return TableNamePsProductLang
|
|
}
|