2022-02-28 11:51:44 -05:00
|
|
|
import { prop } from '@typegoose/typegoose';
|
|
|
|
|
|
|
|
export default class Staff {
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public name: string;
|
|
|
|
|
|
|
|
@prop({ required: true })
|
|
|
|
public userID: string;
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public title: string;
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public dept: string;
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public emailAddress: string;
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public extension: string;
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public acknowledgements: string[];
|
|
|
|
|
2022-03-01 13:34:28 -05:00
|
|
|
@prop()
|
2022-02-28 11:51:44 -05:00
|
|
|
public additionalRoles: string[];
|
2023-02-11 23:23:45 -05:00
|
|
|
|
|
|
|
@prop({ default: false })
|
|
|
|
public isManager: boolean;
|
2022-02-28 11:51:44 -05:00
|
|
|
}
|