This commit is contained in:
[Valentino Heman Budiarto] 2026-03-06 13:59:17 +07:00
parent 14429c0265
commit 54088abf22

View File

@ -3,7 +3,7 @@ package models
import (
"time"
"github.com/google/uuid" // Pastikan import ini ada
"github.com/google/uuid"
)
type User struct {
@ -41,7 +41,6 @@ type Booking struct {
Purpose string `gorm:"not null" json:"purpose"`
Status string `gorm:"type:booking_status;default:'Pending'" json:"status"`
// 👇 PASTIKAN BARIS INI ADA DI DALAM SINI 👇
RedeemCode string `gorm:"type:varchar(10)" json:"redeem_code"`
CreatedAt time.Time `json:"created_at"`