initial commit 2
This commit is contained in:
17
application/viewmodel/profile.go
Normal file
17
application/viewmodel/profile.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package viewmodel
|
||||
|
||||
import "time"
|
||||
|
||||
type Profile struct {
|
||||
ID int64 `json:"-"`
|
||||
Name string `json:"name"`
|
||||
Key string `json:"key"`
|
||||
Description string `json:"desc"`
|
||||
Created time.Time `json:"created"`
|
||||
Updated time.Time `json:"updated"`
|
||||
Active bool `json:"active"`
|
||||
Blocked bool `json:"blocked"`
|
||||
Suspended bool `json:"suspended"`
|
||||
Visible bool `json:"visible"`
|
||||
Organization Organization `json:"organization"`
|
||||
}
|
||||
Reference in New Issue
Block a user