57 lines
2.6 KiB
Go
57 lines
2.6 KiB
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import (
|
|
"git.ma-al.com/goc_marek/gormcol"
|
|
"time"
|
|
)
|
|
|
|
const TableNamePsPocztapolskaenProfileAddress = "ps_pocztapolskaen_profile_address"
|
|
|
|
// PsPocztapolskaenProfileAddress mapped from table <ps_pocztapolskaen_profile_address>
|
|
type PsPocztapolskaenProfileAddress struct {
|
|
IDProfileAddress int32 `gorm:"column:id_profile_address;primaryKey;autoIncrement:true" json:"id_profile_address"`
|
|
IDEn *int32 `gorm:"column:id_en" json:"id_en"`
|
|
Name *string `gorm:"column:name" json:"name"`
|
|
FriendlyName *string `gorm:"column:friendly_name" json:"friendly_name"`
|
|
Street *string `gorm:"column:street" json:"street"`
|
|
HouseNumber *string `gorm:"column:house_number" json:"house_number"`
|
|
PremisesNumber *string `gorm:"column:premises_number" json:"premises_number"`
|
|
City *string `gorm:"column:city" json:"city"`
|
|
PostalCode *string `gorm:"column:postal_code" json:"postal_code"`
|
|
DateAdd *time.Time `gorm:"column:date_add" json:"date_add"`
|
|
DateUpd *time.Time `gorm:"column:date_upd" json:"date_upd"`
|
|
}
|
|
|
|
// TableName PsPocztapolskaenProfileAddress's table name
|
|
func (*PsPocztapolskaenProfileAddress) TableName() string {
|
|
return TableNamePsPocztapolskaenProfileAddress
|
|
}
|
|
|
|
var PsPocztapolskaenProfileAddressCols = struct {
|
|
IDProfileAddress gormcol.Field
|
|
IDEn gormcol.Field
|
|
Name gormcol.Field
|
|
FriendlyName gormcol.Field
|
|
Street gormcol.Field
|
|
HouseNumber gormcol.Field
|
|
PremisesNumber gormcol.Field
|
|
City gormcol.Field
|
|
PostalCode gormcol.Field
|
|
DateAdd gormcol.Field
|
|
DateUpd gormcol.Field
|
|
}{
|
|
IDProfileAddress: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "id_profile_address"),
|
|
IDEn: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "id_en"),
|
|
Name: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "name"),
|
|
FriendlyName: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "friendly_name"),
|
|
Street: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "street"),
|
|
HouseNumber: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "house_number"),
|
|
PremisesNumber: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "premises_number"),
|
|
City: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "city"),
|
|
PostalCode: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "postal_code"),
|
|
DateAdd: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "date_add"),
|
|
DateUpd: gormcol.Field{}.Set((&PsPocztapolskaenProfileAddress{}).TableName(), "date_upd"),
|
|
}
|