2020-08-08 15:04:59 +02:00
|
|
|
package model
|
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
type User struct {
|
2020-09-11 09:19:18 +02:00
|
|
|
Base
|
2020-08-08 15:04:59 +02:00
|
|
|
Name *string `json:"name"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
ConnectedAt time.Time `json:"connectedAt"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserChanges struct {
|
|
|
|
Name *string `json:"name"`
|
|
|
|
}
|