diff options
Diffstat (limited to 'api/internal/models/user.go')
-rw-r--r-- | api/internal/models/user.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/api/internal/models/user.go b/api/internal/models/user.go new file mode 100644 index 0000000..ca5daa4 --- /dev/null +++ b/api/internal/models/user.go | |||
@@ -0,0 +1,10 @@ | |||
1 | package models | ||
2 | |||
3 | import "github.com/google/uuid" | ||
4 | |||
5 | type User struct { | ||
6 | ID int64 `json:"id"` | ||
7 | Name string `json:"name"` | ||
8 | UUID uuid.UUID `json:"uuid"` | ||
9 | Password string `json:"-"` | ||
10 | } | ||