update user struct
parent
b3c03a1dca
commit
32ce9635ad
|
@ -0,0 +1,25 @@
|
||||||
|
package structs
|
||||||
|
|
||||||
|
import "time"
|
||||||
|
|
||||||
|
// User represents a user
|
||||||
|
// swagger:model
|
||||||
|
type User struct {
|
||||||
|
ID string
|
||||||
|
Hashtag string
|
||||||
|
Name string
|
||||||
|
Email string
|
||||||
|
Password string
|
||||||
|
/*Rank int
|
||||||
|
AvatarUrl string
|
||||||
|
Location string
|
||||||
|
Description string
|
||||||
|
Language string
|
||||||
|
Cash int
|
||||||
|
Posts int
|
||||||
|
Followers int
|
||||||
|
Following int */
|
||||||
|
LastLogin time.Time
|
||||||
|
CreatedAt time.Time
|
||||||
|
UpdatedAt time.Time
|
||||||
|
}
|
Loading…
Reference in New Issue