59 lines
2.8 KiB
Go
59 lines
2.8 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. 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{Table: TableNamePsPocztapolskaenProfileAddress, Column: "id_profile_address"},
|
|
IDEn: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "id_en"},
|
|
Name: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "name"},
|
|
FriendlyName: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "friendly_name"},
|
|
Street: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "street"},
|
|
HouseNumber: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "house_number"},
|
|
PremisesNumber: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "premises_number"},
|
|
City: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "city"},
|
|
PostalCode: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "postal_code"},
|
|
DateAdd: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "date_add"},
|
|
DateUpd: gormcol.Field{Table: TableNamePsPocztapolskaenProfileAddress, Column: "date_upd"},
|
|
}
|