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

23 lines
339 B
Go

package models
import "github.com/jinzhu/gorm"
type User struct {
gorm.Model
Username string
Password string
Email string
Avatar string
CompanyID uint
}
func (User)Update() (bool, error) {
return false, nil
}
func (User)Create() (bool, error) {
return false, nil
}
func (User)Delete() (bool, error) {
return false, nil
}