feat: add guided administrator management
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package settings
|
||||
|
||||
import "errors"
|
||||
|
||||
type Administrator struct {
|
||||
StaffID string
|
||||
DisplayName string
|
||||
Department string
|
||||
Role string
|
||||
Status string
|
||||
}
|
||||
|
||||
var (
|
||||
ErrAdministratorNotFound = errors.New("administrator not found")
|
||||
ErrLastAdministrator = errors.New("last active administrator cannot be disabled")
|
||||
ErrAdministratorAlreadyDisabled = errors.New("administrator already disabled")
|
||||
)
|
||||
Reference in New Issue
Block a user