Files
old-backend/models/company.go

25 lines
367 B
Go
Raw Normal View History

2023-09-06 11:58:33 +02:00
package models
import "github.com/jinzhu/gorm"
type Company struct {
gorm.Model
2023-09-18 12:27:40 +02:00
Name string
2023-09-27 19:20:44 +02:00
Address string
Email string
Phone string
2023-09-06 11:58:33 +02:00
Users []User
Devices []Device
}
2023-09-18 12:27:40 +02:00
func (Company) Update() (bool, error) {
2023-09-06 11:58:33 +02:00
return false, nil
}
2023-09-18 12:27:40 +02:00
func (Company) Create() (bool, error) {
2023-09-06 11:58:33 +02:00
return false, nil
}
2023-09-18 12:27:40 +02:00
func (Company) Delete() (bool, error) {
2023-09-06 11:58:33 +02:00
return false, nil
}