Files
old-backend/models/user.go

21 lines
399 B
Go
Raw Normal View History

package models
type User struct {
2023-10-13 11:48:14 +02:00
BaseModel
2023-10-06 10:47:26 +02:00
Username string `json:"username"`
Password string `json:"password"`
Email string `json:"email"`
Avatar string `json:"avatar"`
CompanyID uint `json:"companyId"`
}
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
}