// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsSpecificPricePriority = "ps_specific_price_priority"

// PsSpecificPricePriority mapped from table <ps_specific_price_priority>
type PsSpecificPricePriority struct {
	IDSpecificPricePriority int32  `gorm:"column:id_specific_price_priority;primaryKey;autoIncrement:true" json:"id_specific_price_priority"`
	IDProduct               int32  `gorm:"column:id_product;primaryKey;uniqueIndex:id_product,priority:1" json:"id_product"`
	Priority                string `gorm:"column:priority;not null" json:"priority"`
}

// TableName PsSpecificPricePriority's table name
func (*PsSpecificPricePriority) TableName() string {
	return TableNamePsSpecificPricePriority
}

var PsSpecificPricePriorityCols = struct {
	IDSpecificPricePriority gormcol.Field
	IDProduct gormcol.Field
	Priority gormcol.Field
}{
	IDSpecificPricePriority: gormcol.Field{}.Set((&PsSpecificPricePriority{}).TableName(), "id_specific_price_priority"),
	IDProduct: gormcol.Field{}.Set((&PsSpecificPricePriority{}).TableName(), "id_product"),
	Priority: gormcol.Field{}.Set((&PsSpecificPricePriority{}).TableName(), "priority"),
}
