Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Resv ¶
type Resv struct { ID int `json:"id" gorm:"primaryKey; autoIncrement"` UserID int `json:"user_id" gorm:"index"` SeatID int `json:"seat_id" gorm:"index"` CreateTime *time.Time `json:"create_time"` StartTime *time.Time `json:"start_time"` EndTime *time.Time `json:"end_time"` SigninTime *time.Time `json:"signin_time"` SignoutTime *time.Time `json:"signout_time"` Status int `json:"status"` }
func (Resv) CalculateTimeBits ¶
type Room ¶
type Room struct { ID int `json:"id" gorm:"primaryKey;autoIncrement"` Name string `json:"name"` Capacity int `json:"capacity"` OpenTime string `json:"opening_time"` CloseTime string `json:"closing_time"` Location string `json:"location"` Description string `json:"description"` Status int `json:"status"` }
type Seat ¶
Click to show internal directories.
Click to hide internal directories.