Upstream sync
This commit is contained in:
@@ -1,11 +1,14 @@
|
|||||||
package models
|
package models
|
||||||
|
|
||||||
import "github.com/jinzhu/gorm"
|
import (
|
||||||
|
"github.com/jinzhu/gorm"
|
||||||
|
"github.com/lib/pq"
|
||||||
|
)
|
||||||
|
|
||||||
type Contract struct {
|
type Contract struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
Name string
|
Name string
|
||||||
DeviceID []uint
|
DeviceIDs pq.Int64Array `gorm:"type:integer[]"`
|
||||||
BuyerID uint
|
BuyerID uint
|
||||||
Status string
|
Status string
|
||||||
BlockchainID string
|
BlockchainID string
|
||||||
|
|||||||
Reference in New Issue
Block a user