V1 #1
|
@ -6,12 +6,10 @@ import (
|
||||||
|
|
||||||
// Staff ...
|
// Staff ...
|
||||||
type Staff struct {
|
type Staff struct {
|
||||||
ID string `json:"_id"` // ObjectID
|
Reference string `json:"reference"` // ObjectID
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Phone string `json:"phone"`
|
Phone string `json:"phone"`
|
||||||
Active bool `json:"active"`
|
Active bool `json:"active"`
|
||||||
CreatedAt string `json:"createdAt"` // ISOString
|
|
||||||
UpdatedAt string `json:"updatedAt"` // ISOString
|
|
||||||
IsRoot bool `json:"isRoot"`
|
IsRoot bool `json:"isRoot"`
|
||||||
Permissions []string `json:"permissions"`
|
Permissions []string `json:"permissions"`
|
||||||
Source string `json:"source"`
|
Source string `json:"source"`
|
||||||
|
|
Loading…
Reference in New Issue