// Code generated by gormcol. 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{}.Set((&PsPsgdprConsentLang{}).TableName(), "id_gdpr_consent"),
	IDLang: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "id_lang"),
	Message: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "message"),
	IDShop: gormcol.Field{}.Set((&PsPsgdprConsentLang{}).TableName(), "id_shop"),
}
