aboutsummaryrefslogtreecommitdiff
path: root/pkg/model/users.go
blob: 0edee323ad2fab1a32a9a7253a42a77a76b86711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package model

import "time"

type User struct {
	Id        int
	Username  string
	Email     string
	CreatedAt *time.Time
}

type UserLogin struct {
	Username string
	Password string
}

type UserRegistration struct {
	Username string
	Password string
	Email    string
}