From 54088abf2229105e6bcec5da9375ea530b61c66d Mon Sep 17 00:00:00 2001 From: "[Valentino Heman Budiarto]" <[hemanvalentino@gmail.com]> Date: Fri, 6 Mar 2026 13:59:17 +0700 Subject: [PATCH] 123 --- backend/models/entity.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"`