// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsCarrierLang = "ps_carrier_lang"

// PsCarrierLang mapped from table <ps_carrier_lang>
type PsCarrierLang struct {
	IDCarrier int32   `gorm:"column:id_carrier;primaryKey" json:"id_carrier"`
	IDShop    int32   `gorm:"column:id_shop;primaryKey;default:1" json:"id_shop"`
	IDLang    int32   `gorm:"column:id_lang;primaryKey" json:"id_lang"`
	Delay     *string `gorm:"column:delay" json:"delay"`
}

// TableName PsCarrierLang's table name
func (*PsCarrierLang) TableName() string {
	return TableNamePsCarrierLang
}

var PsCarrierLangCols = struct {
	IDCarrier gormcol.Field
	IDShop gormcol.Field
	IDLang gormcol.Field
	Delay gormcol.Field
}{
	IDCarrier: gormcol.Field{}.Set((&PsCarrierLang{}).TableName(), "id_carrier"),
	IDShop: gormcol.Field{}.Set((&PsCarrierLang{}).TableName(), "id_shop"),
	IDLang: gormcol.Field{}.Set((&PsCarrierLang{}).TableName(), "id_lang"),
	Delay: gormcol.Field{}.Set((&PsCarrierLang{}).TableName(), "delay"),
}
