// Code generated by gormcol. DO NOT EDIT.

package dbmodel

import (
	"git.ma-al.com/goc_marek/gormcol"
	"time"
)

const TableNamePsDpdpolandCarrier = "ps_dpdpoland_carrier"

// PsDpdpolandCarrier mapped from table <ps_dpdpoland_carrier>
type PsDpdpolandCarrier struct {
	IDDpdpolandCarrier int32     `gorm:"column:id_dpdpoland_carrier;primaryKey;autoIncrement:true" json:"id_dpdpoland_carrier"`
	IDCarrier          int32     `gorm:"column:id_carrier;not null" json:"id_carrier"`
	IDReference        int32     `gorm:"column:id_reference;not null" json:"id_reference"`
	DateAdd            time.Time `gorm:"column:date_add;not null" json:"date_add"`
	DateUpd            time.Time `gorm:"column:date_upd;not null" json:"date_upd"`
}

// TableName PsDpdpolandCarrier's table name
func (*PsDpdpolandCarrier) TableName() string {
	return TableNamePsDpdpolandCarrier
}

var PsDpdpolandCarrierCols = struct {
	IDDpdpolandCarrier gormcol.Field
	IDCarrier gormcol.Field
	IDReference gormcol.Field
	DateAdd gormcol.Field
	DateUpd gormcol.Field
}{
	IDDpdpolandCarrier: gormcol.Field{}.Set((&PsDpdpolandCarrier{}).TableName(), "id_dpdpoland_carrier"),
	IDCarrier: gormcol.Field{}.Set((&PsDpdpolandCarrier{}).TableName(), "id_carrier"),
	IDReference: gormcol.Field{}.Set((&PsDpdpolandCarrier{}).TableName(), "id_reference"),
	DateAdd: gormcol.Field{}.Set((&PsDpdpolandCarrier{}).TableName(), "date_add"),
	DateUpd: gormcol.Field{}.Set((&PsDpdpolandCarrier{}).TableName(), "date_upd"),
}
