Update controllers
This commit is contained in:
1 parent
338f508460
commit
2de5b87bb9
20 files changed
+317
-3
No files matched your search
@@ -0,0 +1,16 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"go.mongodb.org/mongo-driver/bson/primitive"
|
||||
)
|
||||
|
||||
type Table struct {
|
||||
ID primitive.ObjectID `bson:"_id"`
|
||||
Number_of_guests *int `json:"number_of_guests" validate:"required"`
|
||||
Table_number *int `json:"table_number" validate:"required"`
|
||||
Created_at time.Time `json:"created_at"`
|
||||
Updated_at time.Time `json:"updated_at"`
|
||||
Table_id string `json:"table_id"`
|
||||
}
|
||||
Reference in new issue
Block a user