shifts
This commit is contained in:
@@ -73,7 +73,11 @@ type Partnerinfo struct {
|
||||
}
|
||||
|
||||
type Ridershifts struct {
|
||||
Shiftid int `json:"shiftid" gorm:"Primary_Key"`
|
||||
Shiftid int `json:"shiftid" gorm:"Primary_Key"`
|
||||
// The region this shift belongs to. The column has always been on the table
|
||||
// — `GetRiderShifts` filters on it — but there was no field for it here, so
|
||||
// nothing could write one. That is why shifts could only ever be read.
|
||||
Applocationid int `json:"applocationid"`
|
||||
Shiftdate string `json:"shiftdate"`
|
||||
Starttime string `json:"starttime"`
|
||||
Endtime string `json:"endtime"`
|
||||
|
||||
Reference in New Issue
Block a user