19 lines
498 B
Go
19 lines
498 B
Go
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")
|
|
ErrBootstrapCandidatePending = errors.New("bootstrap candidate pending")
|
|
)
|