123
This commit is contained in:
parent
14429c0265
commit
54088abf22
@ -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"`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user