// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import "git.ma-al.com/goc_marek/gormcol"

const TableNamePsMailalertCustomerOo = "ps_mailalert_customer_oos"

// PsMailalertCustomerOo mapped from table <ps_mailalert_customer_oos>
type PsMailalertCustomerOo struct {
	IDCustomer         int32  `gorm:"column:id_customer;primaryKey" json:"id_customer"`
	CustomerEmail      string `gorm:"column:customer_email;primaryKey" json:"customer_email"`
	IDProduct          int32  `gorm:"column:id_product;primaryKey" json:"id_product"`
	IDProductAttribute int32  `gorm:"column:id_product_attribute;primaryKey" json:"id_product_attribute"`
	IDShop             int32  `gorm:"column:id_shop;primaryKey" json:"id_shop"`
	IDLang             int32  `gorm:"column:id_lang;not null" json:"id_lang"`
}

// TableName PsMailalertCustomerOo's table name
func (*PsMailalertCustomerOo) TableName() string {
	return TableNamePsMailalertCustomerOo
}

var PsMailalertCustomerOoCols = struct {
	IDCustomer gormcol.Field
	CustomerEmail gormcol.Field
	IDProduct gormcol.Field
	IDProductAttribute gormcol.Field
	IDShop gormcol.Field
	IDLang gormcol.Field
}{
	IDCustomer: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_customer"),
	CustomerEmail: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "customer_email"),
	IDProduct: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_product"),
	IDProductAttribute: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_product_attribute"),
	IDShop: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_shop"),
	IDLang: gormcol.Field{}.Set((&PsMailalertCustomerOo{}).TableName(), "id_lang"),
}
