Matrix/entities/user/user.go
2020-10-01 17:45:57 +02:00

12 lines
333 B
Go

package user
import (
"nutfactory.org/Matrix/entities/device"
)
type User struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Password string `json:"password,omitempty"`
Devices map[string]*device.Device `json:"devices,omitempty"`
}