Files
gormcol/app/model/dbmodel/ps_psgdpr_consent_lang.go

35 lines
1.3 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 dbmodel
import "git.ma-al.com/goc_marek/gormcol"
const TableNamePsPsgdprConsentLang = "ps_psgdpr_consent_lang"
// PsPsgdprConsentLang mapped from table <ps_psgdpr_consent_lang>
type PsPsgdprConsentLang struct {
IDGdprConsent int32 `gorm:"column:id_gdpr_consent;primaryKey;autoIncrement:true" json:"id_gdpr_consent"`
IDLang int32 `gorm:"column:id_lang;primaryKey" json:"id_lang"`
Message *string `gorm:"column:message" json:"message"`
IDShop int32 `gorm:"column:id_shop;primaryKey" json:"id_shop"`
}
// TableName PsPsgdprConsentLang's table name
func (*PsPsgdprConsentLang) TableName() string {
return TableNamePsPsgdprConsentLang
}
var PsPsgdprConsentLangCols = struct {
IDGdprConsent gormcol.Field
IDLang gormcol.Field
Message gormcol.Field
IDShop gormcol.Field
}{
IDGdprConsent: gormcol.Field{Table: TableNamePsPsgdprConsentLang, Column: "id_gdpr_consent"},
IDLang: gormcol.Field{Table: TableNamePsPsgdprConsentLang, Column: "id_lang"},
Message: gormcol.Field{Table: TableNamePsPsgdprConsentLang, Column: "message"},
IDShop: gormcol.Field{Table: TableNamePsPsgdprConsentLang, Column: "id_shop"},
}