cr-database/mongodb/Staff.js

44 lines
1.4 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const typegoose_1 = require("@typegoose/typegoose");
class Staff {
}
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", String)
], Staff.prototype, "name", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Staff.prototype, "userID", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", String)
], Staff.prototype, "title", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", String)
], Staff.prototype, "dept", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Array)
], Staff.prototype, "pn", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", String)
], Staff.prototype, "emailAddress", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", String)
], Staff.prototype, "extension", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Array)
], Staff.prototype, "acknowledgements", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Array)
], Staff.prototype, "additionalRoles", void 0);
exports.default = Staff;