guesstimate/internal/model/user.go

17 lines
238 B
Go
Raw Normal View History

2020-08-08 15:04:59 +02:00
package model
import (
"time"
)
type User struct {
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"`
}