add customer name, service info, second pickup location, and structured address fields to deliveries
This commit is contained in:
@@ -21,6 +21,15 @@ type Delivery struct {
|
||||
Status string `db:"status" json:"status"`
|
||||
CreatedAt pgtype.Timestamptz `db:"created_at" json:"created_at"`
|
||||
UpdatedAt pgtype.Timestamptz `db:"updated_at" json:"updated_at"`
|
||||
CustomerName string `db:"customer_name" json:"customer_name"`
|
||||
ServiceInfo pgtype.Text `db:"service_info" json:"service_info"`
|
||||
PickupLocation2 pgtype.Text `db:"pickup_location_2" json:"pickup_location_2"`
|
||||
ProductName2 pgtype.Text `db:"product_name_2" json:"product_name_2"`
|
||||
Street string `db:"street" json:"street"`
|
||||
House string `db:"house" json:"house"`
|
||||
Apartment pgtype.Text `db:"apartment" json:"apartment"`
|
||||
Entrance pgtype.Text `db:"entrance" json:"entrance"`
|
||||
Floor pgtype.Text `db:"floor" json:"floor"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
|
||||
Reference in New Issue
Block a user