// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsDpdpolandPayerNumber = "ps_dpdpoland_payer_number" // PsDpdpolandPayerNumber mapped from table type PsDpdpolandPayerNumber struct { IDDpdpolandPayerNumber int32 `gorm:"column:id_dpdpoland_payer_number;primaryKey;autoIncrement:true" json:"id_dpdpoland_payer_number"` IDShop int32 `gorm:"column:id_shop;not null" json:"id_shop"` PayerNumber string `gorm:"column:payer_number;not null" json:"payer_number"` Name string `gorm:"column:name;not null" json:"name"` 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 PsDpdpolandPayerNumber's table name func (*PsDpdpolandPayerNumber) TableName() string { return TableNamePsDpdpolandPayerNumber } var PsDpdpolandPayerNumberCols = struct { IDDpdpolandPayerNumber gormcol.Field IDShop gormcol.Field PayerNumber gormcol.Field Name gormcol.Field DateAdd gormcol.Field DateUpd gormcol.Field }{ IDDpdpolandPayerNumber: gormcol.Field{}.Set((&PsDpdpolandPayerNumber{}).TableName(), "id_dpdpoland_payer_number"), IDShop: gormcol.Field{}.Set((&PsDpdpolandPayerNumber{}).TableName(), "id_shop"), PayerNumber: gormcol.Field{}.Set((&PsDpdpolandPayerNumber{}).TableName(), "payer_number"), Name: gormcol.Field{}.Set((&PsDpdpolandPayerNumber{}).TableName(), "name"), DateAdd: gormcol.Field{}.Set((&PsDpdpolandPayerNumber{}).TableName(), "date_add"), DateUpd: gormcol.Field{}.Set((&PsDpdpolandPayerNumber{}).TableName(), "date_upd"), }