diff options
Diffstat (limited to 'api/database/models.go')
-rw-r--r-- | api/database/models.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/api/database/models.go b/api/database/models.go new file mode 100644 index 0000000..e309a36 --- /dev/null +++ b/api/database/models.go @@ -0,0 +1,11 @@ +package database + +import "time" + +type User struct { + ID int `json:"id"` + Username string `json:"username"` + Password string `json:"password"` + CreatedAt time.Time `json:"created_at"` + UpdatedAt time.Time `json:"updated_at"` +} |