guesstimate/internal/model/user.go

18 lines
309 B
Go
Raw Normal View History

2020-08-08 15:04:59 +02:00
package model
import (
"time"
)
type User struct {
ID string `json:"id"`
Name *string `json:"name"`
Email string `json:"email"`
ConnectedAt time.Time `json:"connectedAt"`
CreatedAt time.Time `json:"createdAt"`
}
type UserChanges struct {
Name *string `json:"name"`
}