Upstream sync

This commit is contained in:
Senad Uka
2023-09-18 12:27:40 +02:00
parent 9750aa2c37
commit 1f30f85787
30 changed files with 309 additions and 150 deletions

View File

@@ -4,20 +4,20 @@ import "github.com/jinzhu/gorm"
type Device struct {
gorm.Model
DeviceName string
IMEI string `json:"imei"`
IMSI string `json:"imsi"`
DeviceConfiguration string `gorm:"type:json"`
CompanyID uint
DeviceInfos []DeviceInfo
DeviceName string
IMEI string `json:"imei"`
IMSI string `json:"imsi"`
DeviceConfiguration string `gorm:"type:json"`
CompanyID uint
DeviceInfos []DeviceInfo
}
func (Device)Update() (bool, error) {
func (Device) Update() (bool, error) {
return false, nil
}
func (Device)Create() (bool, error) {
func (Device) Create() (bool, error) {
return false, nil
}
func (Device)Delete() (bool, error) {
func (Device) Delete() (bool, error) {
return false, nil
}