Files
old-backend/models/user.go

23 lines
345 B
Go
Raw Normal View History

package models
import "github.com/jinzhu/gorm"
type User struct {
gorm.Model
2023-09-18 12:27:40 +02:00
Username string
Password string
Email string
Avatar string
CompanyID uint
}
2023-09-18 12:27:40 +02:00
func (User) Update() (bool, error) {
return false, nil
}
2023-09-18 12:27:40 +02:00
func (User) Create() (bool, error) {
return false, nil
}
2023-09-18 12:27:40 +02:00
func (User) Delete() (bool, error) {
return false, nil
}