feat: add cabinet management functionality
This commit is contained in:
12
internal/models/cabinet_model.go
Normal file
12
internal/models/cabinet_model.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package models
|
||||
|
||||
import "time"
|
||||
|
||||
type Cabinet struct {
|
||||
ID int64 `json:"id"`
|
||||
RoomID int64 `json:"roomId"`
|
||||
Name string `json:"name"`
|
||||
Description string `json:"description"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
UpdatedAt time.Time `json:"updatedAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user