// Code generated by gormcol. DO NOT EDIT. package dbmodel import ( "git.ma-al.com/goc_marek/gormcol" "time" ) const TableNamePsDpdpolandSenderAddress = "ps_dpdpoland_sender_address" // PsDpdpolandSenderAddress mapped from table type PsDpdpolandSenderAddress struct { IDSenderAddress int32 `gorm:"column:id_sender_address;primaryKey;autoIncrement:true" json:"id_sender_address"` Alias string `gorm:"column:alias;not null" json:"alias"` Company string `gorm:"column:company;not null" json:"company"` Name string `gorm:"column:name;not null" json:"name"` Address string `gorm:"column:address;not null" json:"address"` City string `gorm:"column:city;not null" json:"city"` Email string `gorm:"column:email;not null" json:"email"` Postcode string `gorm:"column:postcode;not null" json:"postcode"` Phone string `gorm:"column:phone;not null" json:"phone"` IDShop int32 `gorm:"column:id_shop;not null" json:"id_shop"` 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 PsDpdpolandSenderAddress's table name func (*PsDpdpolandSenderAddress) TableName() string { return TableNamePsDpdpolandSenderAddress } var PsDpdpolandSenderAddressCols = struct { IDSenderAddress gormcol.Field Alias gormcol.Field Company gormcol.Field Name gormcol.Field Address gormcol.Field City gormcol.Field Email gormcol.Field Postcode gormcol.Field Phone gormcol.Field IDShop gormcol.Field DateAdd gormcol.Field DateUpd gormcol.Field }{ IDSenderAddress: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "id_sender_address"), Alias: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "alias"), Company: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "company"), Name: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "name"), Address: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "address"), City: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "city"), Email: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "email"), Postcode: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "postcode"), Phone: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "phone"), IDShop: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "id_shop"), DateAdd: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "date_add"), DateUpd: gormcol.Field{}.Set((&PsDpdpolandSenderAddress{}).TableName(), "date_upd"), }