V1 #1

Merged
trunglt251292 merged 13 commits from v1 into master 2022-05-31 03:35:14 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 0162caddba - Show all commits

View File

@ -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"`