hub apis
This commit is contained in:
@@ -13,7 +13,10 @@ type Tripsheet struct {
|
||||
Driveruserid *int `json:"driveruserid" gorm:"column:driveruserid"`
|
||||
Dispatchtime *time.Time `json:"dispatchtime" gorm:"column:dispatchtime"`
|
||||
Arrivaltime *time.Time `json:"arrivaltime" gorm:"column:arrivaltime"`
|
||||
Status string `json:"status" gorm:"column:status;default:Draft"` // Draft, Dispatched, Arrived, Cancelled
|
||||
Status string `json:"status" gorm:"column:status;default:Draft"` // Draft, Ready, Dispatched, Arrived, Cancelled
|
||||
Batchlabel string `json:"batchlabel" gorm:"column:batchlabel;size:100"`
|
||||
Batchkind string `json:"batchkind" gorm:"column:batchkind;size:20"` // local, transfer
|
||||
Destinationlabel string `json:"destinationlabel" gorm:"column:destinationlabel;size:200"`
|
||||
Createdat time.Time `json:"createdat" gorm:"column:createdat;default:CURRENT_TIMESTAMP"`
|
||||
Updatedat time.Time `json:"updatedat" gorm:"column:updatedat;default:CURRENT_TIMESTAMP"`
|
||||
Createdby int `json:"createdby" gorm:"column:createdby"`
|
||||
|
||||
Reference in New Issue
Block a user