update 15 mei
This commit is contained in:
@@ -25,6 +25,7 @@ type Room struct {
|
||||
Capacity int `gorm:"not null" json:"capacity"`
|
||||
Floor string `gorm:"not null" json:"floor"`
|
||||
Status string `gorm:"type:room_status;default:'Available'" json:"status"`
|
||||
PowerConsumption float64 `json:"power_consumption" gorm:"default:0"`
|
||||
}
|
||||
|
||||
type Booking struct {
|
||||
|
||||
Reference in New Issue
Block a user