diff --git a/backend/models/entity.go b/backend/models/entity.go index fb767e0..120fd9c 100644 --- a/backend/models/entity.go +++ b/backend/models/entity.go @@ -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"`