- Move all frontend code to frontend/ directory - Add backend/ with Go project structure (cmd, internal, pkg) - Add docker-compose.yml for orchestration
32 lines
1.2 KiB
Go
32 lines
1.2 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"`
|
|
}
|
|
|
|
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"`
|
|
}
|