Files
old-backend/models/user.go

23 lines
339 B
Go
Raw Normal View History

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