add service
This commit is contained in:
18
internal/model/user.go
Normal file
18
internal/model/user.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type User struct {
|
||||
ID int
|
||||
Email string
|
||||
EmailHash string
|
||||
PasswordHash string
|
||||
Phone string
|
||||
UserName string
|
||||
CompanyName string
|
||||
Balance float64
|
||||
PaymentStatus string
|
||||
InvitesIssued int
|
||||
InvitesLimit int
|
||||
CreatedAt time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user