Initial commit
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
package models
|
||||
|
||||
type (
|
||||
Table struct {
|
||||
Id int64 `db:"id" json:"id"`
|
||||
Name int64 `db:"name" json:"name"`
|
||||
MaxPeople int64 `db:"max_people" json:"max_people"`
|
||||
Room string `db:"room" json:"room"`
|
||||
}
|
||||
|
||||
Booking struct {
|
||||
Id int64 `db:"id" json:"id"`
|
||||
IdTables int64 `db:"id_tables" json:"id_tables"`
|
||||
ReservationDatetime string `db:"reservation" json:"reservation"`
|
||||
TimeReserve string `db:"time_reserve" json:"time_reserve"`
|
||||
WhoBooked string `db:"who_booked" json:"who_booked"`
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user