cr-database/mongodb/Merchant.js

29 lines
1006 B
JavaScript
Raw Normal View History

2023-02-11 21:03:39 -05:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const typegoose_1 = require("@typegoose/typegoose");
const Inquiry_1 = require("./Inquiry");
class Merchant {
}
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Merchant.prototype, "name", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", String)
], Merchant.prototype, "key", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)(),
tslib_1.__metadata("design:type", Boolean)
], Merchant.prototype, "privileged", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ required: true }),
tslib_1.__metadata("design:type", Number)
], Merchant.prototype, "type", void 0);
tslib_1.__decorate([
(0, typegoose_1.prop)({ default: [] }),
tslib_1.__metadata("design:type", Array)
], Merchant.prototype, "pulls", void 0);
exports.default = Merchant;