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

39 lines
1.5 KiB
Go

// Code generated by gormcol. DO NOT EDIT.
package dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsSupplierLang = "ps_supplier_lang"
// PsSupplierLang mapped from table <ps_supplier_lang>
type PsSupplierLang struct {
IDSupplier int32 `gorm:"column:id_supplier;primaryKey" json:"id_supplier"`
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
Description *string `gorm:"column:description" json:"description"`
MetaTitle *string `gorm:"column:meta_title" json:"meta_title"`
MetaKeywords *string `gorm:"column:meta_keywords" json:"meta_keywords"`
MetaDescription *string `gorm:"column:meta_description" json:"meta_description"`
}
// TableName PsSupplierLang's table name
func (*PsSupplierLang) TableName() string {
return TableNamePsSupplierLang
}
var PsSupplierLangCols = struct {
IDSupplier gormcol.Field
IDLang gormcol.Field
Description gormcol.Field
MetaTitle gormcol.Field
MetaKeywords gormcol.Field
MetaDescription gormcol.Field
}{
IDSupplier: gormcol.Field{}.Set((&PsSupplierLang{}).TableName(), "id_supplier"),
IDLang: gormcol.Field{}.Set((&PsSupplierLang{}).TableName(), "id_lang"),
Description: gormcol.Field{}.Set((&PsSupplierLang{}).TableName(), "description"),
MetaTitle: gormcol.Field{}.Set((&PsSupplierLang{}).TableName(), "meta_title"),
MetaKeywords: gormcol.Field{}.Set((&PsSupplierLang{}).TableName(), "meta_keywords"),
MetaDescription: gormcol.Field{}.Set((&PsSupplierLang{}).TableName(), "meta_description"),
}