niki/patientapp/service/entity/address.go

29 lines
403 B
Go

package entity
type Address struct {
ID uint
PostalCode string
Address string
Name string
Lat float64
Lon float64
CityID uint16
ProvinceID uint16
}
type AddressAggregated struct {
Address Address
Province Province
City City
}
type Province struct {
ID uint
Name string
}
type City struct {
ID uint
Name string
ProvinceID uint
}