Files
old-backend/models/user.go
2023-09-18 12:27:40 +02:00

23 lines
345 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
}