Added profile
This commit is contained in:
8
models/profile.go
Normal file
8
models/profile.go
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package models
|
||||||
|
|
||||||
|
type Profile struct {
|
||||||
|
Id string `gorm:"primaryKey" json:"id"`
|
||||||
|
Firstname string `json:"firstname"`
|
||||||
|
Lastname string `json:"lastname"`
|
||||||
|
Username string `json:"username"`
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user