// Code generated by gormcol. DO NOT EDIT.

package dbmodel

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

const TableNamePsDpdpolandManifest = "ps_dpdpoland_manifest"

// PsDpdpolandManifest mapped from table <ps_dpdpoland_manifest>
type PsDpdpolandManifest struct {
	IDManifest   int32     `gorm:"column:id_manifest;primaryKey;autoIncrement:true" json:"id_manifest"`
	IDManifestWs int32     `gorm:"column:id_manifest_ws;not null;uniqueIndex:id_manifest_ws,priority:1" json:"id_manifest_ws"`
	IDPackageWs  int32     `gorm:"column:id_package_ws;not null;uniqueIndex:id_manifest_ws,priority:2" json:"id_package_ws"`
	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 PsDpdpolandManifest's table name
func (*PsDpdpolandManifest) TableName() string {
	return TableNamePsDpdpolandManifest
}

var PsDpdpolandManifestCols = struct {
	IDManifest gormcol.Field
	IDManifestWs gormcol.Field
	IDPackageWs gormcol.Field
	DateAdd gormcol.Field
	DateUpd gormcol.Field
}{
	IDManifest: gormcol.Field{}.Set((&PsDpdpolandManifest{}).TableName(), "id_manifest"),
	IDManifestWs: gormcol.Field{}.Set((&PsDpdpolandManifest{}).TableName(), "id_manifest_ws"),
	IDPackageWs: gormcol.Field{}.Set((&PsDpdpolandManifest{}).TableName(), "id_package_ws"),
	DateAdd: gormcol.Field{}.Set((&PsDpdpolandManifest{}).TableName(), "date_add"),
	DateUpd: gormcol.Field{}.Set((&PsDpdpolandManifest{}).TableName(), "date_upd"),
}
