Files
old-backend/models/device.go
2023-09-06 11:58:33 +02:00

21 lines
346 B
Go

package models
import "github.com/jinzhu/gorm"
type Device struct {
gorm.Model
DeviceName string
DeviceConfiguration string `gorm:"type:json"`
CompanyID uint
}
func (Device)Update() (bool, error) {
return false, nil
}
func (Device)Create() (bool, error) {
return false, nil
}
func (Device)Delete() (bool, error) {
return false, nil
}