Added uuid middleware
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
type Contract struct {
|
||||
BaseModel
|
||||
Name string `json:"name"`
|
||||
UUID string `json:"uuid" gorm:"type:uuid;"`
|
||||
DeviceIDs pq.Int64Array `json:"deviceIds" gorm:"type:integer[]"`
|
||||
BuyerID uint `json:"buyerId"`
|
||||
SellerID uint `json:"sellerId"`
|
||||
|
||||
Reference in New Issue
Block a user