41 lines
1.9 KiB
Go
41 lines
1.9 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.30.0
|
|
|
|
package db
|
|
|
|
import (
|
|
"github.com/jackc/pgx/v5/pgtype"
|
|
)
|
|
|
|
type Delivery struct {
|
|
ID pgtype.UUID `db:"id" json:"id"`
|
|
Date pgtype.Date `db:"date" json:"date"`
|
|
PickupLocation string `db:"pickup_location" json:"pickup_location"`
|
|
ProductName string `db:"product_name" json:"product_name"`
|
|
Address string `db:"address" json:"address"`
|
|
Phone string `db:"phone" json:"phone"`
|
|
AdditionalPhone pgtype.Text `db:"additional_phone" json:"additional_phone"`
|
|
HasElevator bool `db:"has_elevator" json:"has_elevator"`
|
|
Comment pgtype.Text `db:"comment" json:"comment"`
|
|
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 {
|
|
ID pgtype.UUID `db:"id" json:"id"`
|
|
Username string `db:"username" json:"username"`
|
|
PasswordHash string `db:"password_hash" json:"password_hash"`
|
|
CreatedAt pgtype.Timestamp `db:"created_at" json:"created_at"`
|
|
}
|