107 lines
3.2 KiB
Go
107 lines
3.2 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.31.1
|
|
|
|
package db
|
|
|
|
import (
|
|
"database/sql"
|
|
)
|
|
|
|
type AppConfig struct {
|
|
ConfigKey string `json:"config_key"`
|
|
ConfigValue string `json:"config_value"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type Booking struct {
|
|
ID string `json:"id"`
|
|
UserID sql.NullString `json:"user_id"`
|
|
ProjectID string `json:"project_id"`
|
|
SlotID string `json:"slot_id"`
|
|
Phone string `json:"phone"`
|
|
Status string `json:"status"`
|
|
Remark string `json:"remark"`
|
|
ConfirmToken string `json:"confirm_token"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type ConfigAuditLog struct {
|
|
ID string `json:"id"`
|
|
AdminID string `json:"admin_id"`
|
|
TargetType string `json:"target_type"`
|
|
TargetID string `json:"target_id"`
|
|
Action string `json:"action"`
|
|
BeforeJson string `json:"before_json"`
|
|
AfterJson string `json:"after_json"`
|
|
CreatedAt string `json:"created_at"`
|
|
}
|
|
|
|
type PriceInquiry struct {
|
|
ID string `json:"id"`
|
|
UserID sql.NullString `json:"user_id"`
|
|
Phone string `json:"phone"`
|
|
Province string `json:"province"`
|
|
City string `json:"city"`
|
|
District string `json:"district"`
|
|
ProjectName string `json:"project_name"`
|
|
Status string `json:"status"`
|
|
Remark string `json:"remark"`
|
|
LastSubmittedAt string `json:"last_submitted_at"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type Project struct {
|
|
ID string `json:"id"`
|
|
CategoryID string `json:"category_id"`
|
|
Name string `json:"name"`
|
|
Subtitle string `json:"subtitle"`
|
|
PriceText string `json:"price_text"`
|
|
Image string `json:"image"`
|
|
Status string `json:"status"`
|
|
Sort int64 `json:"sort"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type ProjectCategory struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Sort int64 `json:"sort"`
|
|
Status string `json:"status"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type ScheduleDay struct {
|
|
ID string `json:"id"`
|
|
ProjectID string `json:"project_id"`
|
|
Date string `json:"date"`
|
|
Status string `json:"status"`
|
|
Note string `json:"note"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type TimeSlot struct {
|
|
ID string `json:"id"`
|
|
ScheduleDayID string `json:"schedule_day_id"`
|
|
StartTime string `json:"start_time"`
|
|
EndTime string `json:"end_time"`
|
|
Status string `json:"status"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
}
|
|
|
|
type User struct {
|
|
ID string `json:"id"`
|
|
Openid string `json:"openid"`
|
|
Unionid sql.NullString `json:"unionid"`
|
|
Phone sql.NullString `json:"phone"`
|
|
CreatedAt string `json:"created_at"`
|
|
UpdatedAt string `json:"updated_at"`
|
|
LastLoginAt string `json:"last_login_at"`
|
|
}
|