cr-database/models/Staff.ts

31 lines
587 B
TypeScript
Raw Normal View History

2021-12-25 13:58:49 -05:00
import { prop } from '@typegoose/typegoose';
export default class Staff {
@prop({ required: true })
public name: string;
@prop({ required: true })
public userID: string;
@prop({ required: true })
public title: string;
@prop({ required: true })
public dept: string;
2021-12-25 13:37:42 -05:00
2021-12-25 13:58:49 -05:00
@prop({ required: true })
public pn: string[];
@prop({ required: true })
public emailAddress: string;
@prop({ required: true })
public extension: string;
@prop({ required: true })
public acknowledgements: string[];
@prop({ required: true })
public additionalRoles: string[];
}