Patch contract by ImeiID
This commit is contained in:
@@ -36,6 +36,7 @@ type Contract struct {
|
||||
SellerName string `json:"sellerName" gorm:"-"`
|
||||
ProductName string `json:"productName" gorm:"-"`
|
||||
NumberOfDevices int `json:"numberOfDevices" gorm:"-"`
|
||||
DevicesImeis []string `json:"devicesImeis" gorm:"-"`
|
||||
}
|
||||
|
||||
type DashboardContractResponse struct {
|
||||
@@ -266,8 +267,8 @@ type Status struct {
|
||||
}
|
||||
|
||||
type ActiveContractsResponse struct {
|
||||
ActiveCount int64 `json:"active"`
|
||||
ExecutedCount int64 `json:"executed"`
|
||||
ActiveCount int64 `json:"active"`
|
||||
ExecutedCount int64 `json:"executed"`
|
||||
MonthlyContracts map[string]map[string]int64 `json:"monthly"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user