[Update] add request create/update staff

This commit is contained in:
trunglt251292 2022-05-25 13:57:11 +07:00
parent 853fd1be76
commit 0162caddba
1 changed files with 1 additions and 3 deletions

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