Added devices and companies models

This commit is contained in:
Nedim
2023-09-06 11:58:33 +02:00
parent 8bbfa53d42
commit 40c6366608
10 changed files with 116 additions and 21 deletions

View File

@@ -1,7 +1,3 @@
/**
* Created by desha on 10/24/2017
*/
package models
import "github.com/jinzhu/gorm"
@@ -12,14 +8,15 @@ type User struct {
Password string
Email string
Avatar string
CompanyID uint
}
func (this User)Update() (bool, error) {
func (User)Update() (bool, error) {
return false, nil
}
func (this User)Create() (bool, error) {
func (User)Create() (bool, error) {
return false, nil
}
func (this User)Delete() (bool, error) {
func (User)Delete() (bool, error) {
return false, nil
}