Files
hamster-tycoon/storage/model/user_data.go
2020-01-05 23:20:38 +01:00

18 lines
344 B
Go

package model
import "time"
type UserData struct {
UserEditable
ID string `json:"id"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt *time.Time `json:"updatedAt"`
}
type UserDataEditable struct {
UserId string `json:'userId'`
Type string `json:"type"`
Name string `json:"name"`
Content string `json:"content"`
}