@tudopz/model 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/libs/model/libs/model/README.md +364 -0
- package/package.json +7 -0
- package/src/constant/audience-list.d.ts +2 -0
- package/src/constant/audience-list.js +6 -0
- package/src/constant/audience-list.js.map +1 -0
- package/src/constant/campaign.d.ts +2 -0
- package/src/constant/campaign.js +6 -0
- package/src/constant/campaign.js.map +1 -0
- package/src/constant/conversion-table.d.ts +1 -0
- package/src/constant/conversion-table.js +17 -0
- package/src/constant/conversion-table.js.map +1 -0
- package/src/constant/country.d.ts +1 -0
- package/src/constant/country.js +234 -0
- package/src/constant/country.js.map +1 -0
- package/src/constant/dimension.d.ts +2 -0
- package/src/constant/dimension.js +6 -0
- package/src/constant/dimension.js.map +1 -0
- package/src/constant/event.d.ts +158 -0
- package/src/constant/event.js +230 -0
- package/src/constant/event.js.map +1 -0
- package/src/constant/extracurricular-activity.d.ts +1 -0
- package/src/constant/extracurricular-activity.js +11 -0
- package/src/constant/extracurricular-activity.js.map +1 -0
- package/src/constant/guardian.d.ts +1 -0
- package/src/constant/guardian.js +5 -0
- package/src/constant/guardian.js.map +1 -0
- package/src/constant/lead-form.d.ts +7 -0
- package/src/constant/lead-form.js +35 -0
- package/src/constant/lead-form.js.map +1 -0
- package/src/constant/lead.d.ts +1 -0
- package/src/constant/lead.js +14 -0
- package/src/constant/lead.js.map +1 -0
- package/src/constant/location.d.ts +2 -0
- package/src/constant/location.js +24 -0
- package/src/constant/location.js.map +1 -0
- package/src/constant/nationality.d.ts +1 -0
- package/src/constant/nationality.js +200 -0
- package/src/constant/nationality.js.map +1 -0
- package/src/constant/neo-test.d.ts +7 -0
- package/src/constant/neo-test.js +11 -0
- package/src/constant/neo-test.js.map +1 -0
- package/src/constant/refund.d.ts +1 -0
- package/src/constant/refund.js +8 -0
- package/src/constant/refund.js.map +1 -0
- package/src/constant/sale.d.ts +103 -0
- package/src/constant/sale.js +247 -0
- package/src/constant/sale.js.map +1 -0
- package/src/constant/school.d.ts +10 -0
- package/src/constant/school.js +671 -0
- package/src/constant/school.js.map +1 -0
- package/src/constant/service-course.d.ts +1 -0
- package/src/constant/service-course.js +5 -0
- package/src/constant/service-course.js.map +1 -0
- package/src/constant/student-assignment.d.ts +1 -0
- package/src/constant/student-assignment.js +5 -0
- package/src/constant/student-assignment.js.map +1 -0
- package/src/constant/student-service.d.ts +21 -0
- package/src/constant/student-service.js +147 -0
- package/src/constant/student-service.js.map +1 -0
- package/src/constant/subject.d.ts +33 -0
- package/src/constant/subject.js +155 -0
- package/src/constant/subject.js.map +1 -0
- package/src/constant/task.d.ts +2 -0
- package/src/constant/task.js +6 -0
- package/src/constant/task.js.map +1 -0
- package/src/constant/university-preference.d.ts +3 -0
- package/src/constant/university-preference.js +11 -0
- package/src/constant/university-preference.js.map +1 -0
- package/src/constant/user.d.ts +2 -0
- package/src/constant/user.js +16 -0
- package/src/constant/user.js.map +1 -0
- package/src/constants.d.ts +23 -0
- package/src/constants.js +27 -0
- package/src/constants.js.map +1 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +8 -0
- package/src/index.js.map +1 -0
- package/src/model/access-token.d.ts +12 -0
- package/src/model/access-token.js +49 -0
- package/src/model/access-token.js.map +1 -0
- package/src/model/answer-key.d.ts +7 -0
- package/src/model/answer-key.js +30 -0
- package/src/model/answer-key.js.map +1 -0
- package/src/model/audience-list.d.ts +24 -0
- package/src/model/audience-list.js +69 -0
- package/src/model/audience-list.js.map +1 -0
- package/src/model/audit-log.d.ts +12 -0
- package/src/model/audit-log.js +50 -0
- package/src/model/audit-log.js.map +1 -0
- package/src/model/campaign-signature.d.ts +9 -0
- package/src/model/campaign-signature.js +37 -0
- package/src/model/campaign-signature.js.map +1 -0
- package/src/model/campaign.d.ts +29 -0
- package/src/model/campaign.js +94 -0
- package/src/model/campaign.js.map +1 -0
- package/src/model/case-study.d.ts +7 -0
- package/src/model/case-study.js +29 -0
- package/src/model/case-study.js.map +1 -0
- package/src/model/conversion-table.d.ts +25 -0
- package/src/model/conversion-table.js +59 -0
- package/src/model/conversion-table.js.map +1 -0
- package/src/model/course-template-event.d.ts +12 -0
- package/src/model/course-template-event.js +47 -0
- package/src/model/course-template-event.js.map +1 -0
- package/src/model/course-template.d.ts +14 -0
- package/src/model/course-template.js +52 -0
- package/src/model/course-template.js.map +1 -0
- package/src/model/dimension.d.ts +20 -0
- package/src/model/dimension.js +53 -0
- package/src/model/dimension.js.map +1 -0
- package/src/model/education-system.d.ts +4 -0
- package/src/model/education-system.js +20 -0
- package/src/model/education-system.js.map +1 -0
- package/src/model/event-log.d.ts +11 -0
- package/src/model/event-log.js +44 -0
- package/src/model/event-log.js.map +1 -0
- package/src/model/event-registration.d.ts +10 -0
- package/src/model/event-registration.js +41 -0
- package/src/model/event-registration.js.map +1 -0
- package/src/model/event-to-user.d.ts +9 -0
- package/src/model/event-to-user.js +34 -0
- package/src/model/event-to-user.js.map +1 -0
- package/src/model/event.d.ts +94 -0
- package/src/model/event.js +210 -0
- package/src/model/event.js.map +1 -0
- package/src/model/extracurricular-activity.d.ts +22 -0
- package/src/model/extracurricular-activity.js +70 -0
- package/src/model/extracurricular-activity.js.map +1 -0
- package/src/model/file-access.d.ts +13 -0
- package/src/model/file-access.js +50 -0
- package/src/model/file-access.js.map +1 -0
- package/src/model/file-category.d.ts +8 -0
- package/src/model/file-category.js +33 -0
- package/src/model/file-category.js.map +1 -0
- package/src/model/file.d.ts +22 -0
- package/src/model/file.js +83 -0
- package/src/model/file.js.map +1 -0
- package/src/model/gmail-message-email-index.d.ts +15 -0
- package/src/model/gmail-message-email-index.js +47 -0
- package/src/model/gmail-message-email-index.js.map +1 -0
- package/src/model/gmail-message.d.ts +17 -0
- package/src/model/gmail-message.js +69 -0
- package/src/model/gmail-message.js.map +1 -0
- package/src/model/google-user.d.ts +9 -0
- package/src/model/google-user.js +40 -0
- package/src/model/google-user.js.map +1 -0
- package/src/model/guardian.d.ts +17 -0
- package/src/model/guardian.js +66 -0
- package/src/model/guardian.js.map +1 -0
- package/src/model/high-school-record.d.ts +18 -0
- package/src/model/high-school-record.js +70 -0
- package/src/model/high-school-record.js.map +1 -0
- package/src/model/holiday.d.ts +9 -0
- package/src/model/holiday.js +38 -0
- package/src/model/holiday.js.map +1 -0
- package/src/model/invoice.d.ts +14 -0
- package/src/model/invoice.js +55 -0
- package/src/model/invoice.js.map +1 -0
- package/src/model/journey-stage.d.ts +9 -0
- package/src/model/journey-stage.js +38 -0
- package/src/model/journey-stage.js.map +1 -0
- package/src/model/journey-to-student.d.ts +12 -0
- package/src/model/journey-to-student.js +46 -0
- package/src/model/journey-to-student.js.map +1 -0
- package/src/model/journey.d.ts +12 -0
- package/src/model/journey.js +44 -0
- package/src/model/journey.js.map +1 -0
- package/src/model/lead-assignment.d.ts +9 -0
- package/src/model/lead-assignment.js +38 -0
- package/src/model/lead-assignment.js.map +1 -0
- package/src/model/lead-form-field.d.ts +34 -0
- package/src/model/lead-form-field.js +83 -0
- package/src/model/lead-form-field.js.map +1 -0
- package/src/model/lead-form.d.ts +47 -0
- package/src/model/lead-form.js +131 -0
- package/src/model/lead-form.js.map +1 -0
- package/src/model/lead-ip-ban.d.ts +6 -0
- package/src/model/lead-ip-ban.js +28 -0
- package/src/model/lead-ip-ban.js.map +1 -0
- package/src/model/lead-queue.d.ts +5 -0
- package/src/model/lead-queue.js +24 -0
- package/src/model/lead-queue.js.map +1 -0
- package/src/model/lead.d.ts +46 -0
- package/src/model/lead.js +159 -0
- package/src/model/lead.js.map +1 -0
- package/src/model/log.d.ts +21 -0
- package/src/model/log.js +63 -0
- package/src/model/log.js.map +1 -0
- package/src/model/neo-tag.d.ts +12 -0
- package/src/model/neo-tag.js +38 -0
- package/src/model/neo-tag.js.map +1 -0
- package/src/model/neo-test-flow.d.ts +28 -0
- package/src/model/neo-test-flow.js +17 -0
- package/src/model/neo-test-flow.js.map +1 -0
- package/src/model/neo-test-question-answer.d.ts +8 -0
- package/src/model/neo-test-question-answer.js +34 -0
- package/src/model/neo-test-question-answer.js.map +1 -0
- package/src/model/neo-test-question-category.d.ts +8 -0
- package/src/model/neo-test-question-category.js +33 -0
- package/src/model/neo-test-question-category.js.map +1 -0
- package/src/model/neo-test-question.d.ts +30 -0
- package/src/model/neo-test-question.js +99 -0
- package/src/model/neo-test-question.js.map +1 -0
- package/src/model/neo-test-section-to-question.d.ts +9 -0
- package/src/model/neo-test-section-to-question.js +36 -0
- package/src/model/neo-test-section-to-question.js.map +1 -0
- package/src/model/neo-test-section.d.ts +10 -0
- package/src/model/neo-test-section.js +39 -0
- package/src/model/neo-test-section.js.map +1 -0
- package/src/model/neo-test.d.ts +19 -0
- package/src/model/neo-test.js +59 -0
- package/src/model/neo-test.js.map +1 -0
- package/src/model/pd-pipeline.d.ts +7 -0
- package/src/model/pd-pipeline.js +30 -0
- package/src/model/pd-pipeline.js.map +1 -0
- package/src/model/pd-user.d.ts +8 -0
- package/src/model/pd-user.js +34 -0
- package/src/model/pd-user.js.map +1 -0
- package/src/model/profile.d.ts +469 -0
- package/src/model/profile.js +588 -0
- package/src/model/profile.js.map +1 -0
- package/src/model/pup-lead.d.ts +49 -0
- package/src/model/pup-lead.js +164 -0
- package/src/model/pup-lead.js.map +1 -0
- package/src/model/refund.d.ts +23 -0
- package/src/model/refund.js +81 -0
- package/src/model/refund.js.map +1 -0
- package/src/model/sale-payment.d.ts +18 -0
- package/src/model/sale-payment.js +75 -0
- package/src/model/sale-payment.js.map +1 -0
- package/src/model/sale-split.d.ts +10 -0
- package/src/model/sale-split.js +41 -0
- package/src/model/sale-split.js.map +1 -0
- package/src/model/sale-sub-type-to-service.d.ts +8 -0
- package/src/model/sale-sub-type-to-service.js +31 -0
- package/src/model/sale-sub-type-to-service.js.map +1 -0
- package/src/model/sale-sub-type.d.ts +12 -0
- package/src/model/sale-sub-type.js +46 -0
- package/src/model/sale-sub-type.js.map +1 -0
- package/src/model/sale-to-event.d.ts +10 -0
- package/src/model/sale-to-event.js +38 -0
- package/src/model/sale-to-event.js.map +1 -0
- package/src/model/sale.d.ts +138 -0
- package/src/model/sale.js +322 -0
- package/src/model/sale.js.map +1 -0
- package/src/model/school.d.ts +14 -0
- package/src/model/school.js +40 -0
- package/src/model/school.js.map +1 -0
- package/src/model/service-course-session.d.ts +21 -0
- package/src/model/service-course-session.js +69 -0
- package/src/model/service-course-session.js.map +1 -0
- package/src/model/service-course.d.ts +12 -0
- package/src/model/service-course.js +49 -0
- package/src/model/service-course.js.map +1 -0
- package/src/model/service-prompt.d.ts +8 -0
- package/src/model/service-prompt.js +33 -0
- package/src/model/service-prompt.js.map +1 -0
- package/src/model/service-rate.d.ts +8 -0
- package/src/model/service-rate.js +36 -0
- package/src/model/service-rate.js.map +1 -0
- package/src/model/staff-availability.d.ts +15 -0
- package/src/model/staff-availability.js +45 -0
- package/src/model/staff-availability.js.map +1 -0
- package/src/model/staff-hour-log.d.ts +24 -0
- package/src/model/staff-hour-log.js +70 -0
- package/src/model/staff-hour-log.js.map +1 -0
- package/src/model/staff-hour.d.ts +116 -0
- package/src/model/staff-hour.js +568 -0
- package/src/model/staff-hour.js.map +1 -0
- package/src/model/staff-subject-tag.d.ts +9 -0
- package/src/model/staff-subject-tag.js +38 -0
- package/src/model/staff-subject-tag.js.map +1 -0
- package/src/model/student-answer.d.ts +12 -0
- package/src/model/student-answer.js +49 -0
- package/src/model/student-answer.js.map +1 -0
- package/src/model/student-assignment.d.ts +15 -0
- package/src/model/student-assignment.js +46 -0
- package/src/model/student-assignment.js.map +1 -0
- package/src/model/student-extra.d.ts +17 -0
- package/src/model/student-extra.js +70 -0
- package/src/model/student-extra.js.map +1 -0
- package/src/model/student-goal.d.ts +12 -0
- package/src/model/student-goal.js +47 -0
- package/src/model/student-goal.js.map +1 -0
- package/src/model/student-note-checklist-item.d.ts +8 -0
- package/src/model/student-note-checklist-item.js +34 -0
- package/src/model/student-note-checklist-item.js.map +1 -0
- package/src/model/student-note.d.ts +28 -0
- package/src/model/student-note.js +96 -0
- package/src/model/student-note.js.map +1 -0
- package/src/model/student-service-deadline.d.ts +8 -0
- package/src/model/student-service-deadline.js +33 -0
- package/src/model/student-service-deadline.js.map +1 -0
- package/src/model/student-service-membership-log.d.ts +27 -0
- package/src/model/student-service-membership-log.js +73 -0
- package/src/model/student-service-membership-log.js.map +1 -0
- package/src/model/student-service-membership.d.ts +19 -0
- package/src/model/student-service-membership.js +81 -0
- package/src/model/student-service-membership.js.map +1 -0
- package/src/model/student-service.d.ts +77 -0
- package/src/model/student-service.js +124 -0
- package/src/model/student-service.js.map +1 -0
- package/src/model/student-session-attendance.d.ts +17 -0
- package/src/model/student-session-attendance.js +64 -0
- package/src/model/student-session-attendance.js.map +1 -0
- package/src/model/student-target.d.ts +21 -0
- package/src/model/student-target.js +80 -0
- package/src/model/student-target.js.map +1 -0
- package/src/model/task-attachment.d.ts +17 -0
- package/src/model/task-attachment.js +68 -0
- package/src/model/task-attachment.js.map +1 -0
- package/src/model/task-comment.d.ts +13 -0
- package/src/model/task-comment.js +52 -0
- package/src/model/task-comment.js.map +1 -0
- package/src/model/task.d.ts +33 -0
- package/src/model/task.js +98 -0
- package/src/model/task.js.map +1 -0
- package/src/model/test-attempt.d.ts +27 -0
- package/src/model/test-attempt.js +90 -0
- package/src/model/test-attempt.js.map +1 -0
- package/src/model/test-category.d.ts +10 -0
- package/src/model/test-category.js +38 -0
- package/src/model/test-category.js.map +1 -0
- package/src/model/test-question.d.ts +28 -0
- package/src/model/test-question.js +88 -0
- package/src/model/test-question.js.map +1 -0
- package/src/model/test-report.d.ts +123 -0
- package/src/model/test-report.js +40 -0
- package/src/model/test-report.js.map +1 -0
- package/src/model/test-score.d.ts +12 -0
- package/src/model/test-score.js +50 -0
- package/src/model/test-score.js.map +1 -0
- package/src/model/test-section.d.ts +11 -0
- package/src/model/test-section.js +43 -0
- package/src/model/test-section.js.map +1 -0
- package/src/model/test.d.ts +18 -0
- package/src/model/test.js +62 -0
- package/src/model/test.js.map +1 -0
- package/src/model/timeline.d.ts +24 -0
- package/src/model/timeline.js +10 -0
- package/src/model/timeline.js.map +1 -0
- package/src/model/university-preference.d.ts +15 -0
- package/src/model/university-preference.js +62 -0
- package/src/model/university-preference.js.map +1 -0
- package/src/model/user-preference.d.ts +10 -0
- package/src/model/user-preference.js +41 -0
- package/src/model/user-preference.js.map +1 -0
- package/src/model/user-to-guardian.d.ts +21 -0
- package/src/model/user-to-guardian.js +67 -0
- package/src/model/user-to-guardian.js.map +1 -0
- package/src/model/user.d.ts +91 -0
- package/src/model/user.js +248 -0
- package/src/model/user.js.map +1 -0
- package/src/model/wa-message.d.ts +21 -0
- package/src/model/wa-message.js +74 -0
- package/src/model/wa-message.js.map +1 -0
- package/src/model/zoom-info.d.ts +9 -0
- package/src/model/zoom-info.js +37 -0
- package/src/model/zoom-info.js.map +1 -0
- package/src/models.d.ts +94 -0
- package/src/models.js +98 -0
- package/src/models.js.map +1 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentAnswer = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const test_attempt_1 = require("./test-attempt");
|
|
7
|
+
const test_question_1 = require("./test-question");
|
|
8
|
+
let StudentAnswer = class StudentAnswer {
|
|
9
|
+
};
|
|
10
|
+
exports.StudentAnswer = StudentAnswer;
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
13
|
+
tslib_1.__metadata("design:type", Number)
|
|
14
|
+
], StudentAnswer.prototype, "id", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
17
|
+
tslib_1.__metadata("design:type", String)
|
|
18
|
+
], StudentAnswer.prototype, "answer", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
21
|
+
tslib_1.__metadata("design:type", Number)
|
|
22
|
+
], StudentAnswer.prototype, "testAttemptId", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
25
|
+
tslib_1.__metadata("design:type", Number)
|
|
26
|
+
], StudentAnswer.prototype, "testQuestionId", void 0);
|
|
27
|
+
tslib_1.__decorate([
|
|
28
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", Date)
|
|
30
|
+
], StudentAnswer.prototype, "createdAt", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
33
|
+
tslib_1.__metadata("design:type", Date)
|
|
34
|
+
], StudentAnswer.prototype, "updatedAt", void 0);
|
|
35
|
+
tslib_1.__decorate([
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => test_attempt_1.TestAttempt, (testAttempt) => testAttempt.studentAnswers),
|
|
37
|
+
(0, typeorm_1.JoinColumn)(),
|
|
38
|
+
tslib_1.__metadata("design:type", test_attempt_1.TestAttempt)
|
|
39
|
+
], StudentAnswer.prototype, "testAttempt", void 0);
|
|
40
|
+
tslib_1.__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => test_question_1.TestQuestion, (testQuestion) => testQuestion.studentAnswers),
|
|
42
|
+
(0, typeorm_1.JoinColumn)(),
|
|
43
|
+
tslib_1.__metadata("design:type", test_question_1.TestQuestion)
|
|
44
|
+
], StudentAnswer.prototype, "testQuestion", void 0);
|
|
45
|
+
exports.StudentAnswer = StudentAnswer = tslib_1.__decorate([
|
|
46
|
+
(0, typeorm_1.Entity)({ name: 'student_answers' }),
|
|
47
|
+
(0, typeorm_1.Unique)(['testAttemptId', 'testQuestionId'])
|
|
48
|
+
], StudentAnswer);
|
|
49
|
+
//# sourceMappingURL=student-answer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-answer.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-answer.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,iDAA6C;AAC7C,mDAA+C;AAIxC,IAAM,aAAa,GAAnB,MAAM,aAAa;CA0BzB,CAAA;AA1BY,sCAAa;AAExB;IADC,IAAA,gCAAsB,GAAE;;yCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;6CACV;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;oDACF;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;qDACD;AAGvB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;gDAAC;AAGhB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;gDAAC;AAIhB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAW,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,cAAc,CAAC;IACzE,IAAA,oBAAU,GAAE;sCACA,0BAAW;kDAAC;AAIzB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,4BAAY,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,CAAC,cAAc,CAAC;IAC5E,IAAA,oBAAU,GAAE;sCACC,4BAAY;mDAAC;wBAzBhB,aAAa;IAFzB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;IACnC,IAAA,gBAAM,EAAC,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;GAC/B,aAAa,CA0BzB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { User } from './user';
|
|
2
|
+
export declare class StudentAssignment {
|
|
3
|
+
id: number;
|
|
4
|
+
staffId: number;
|
|
5
|
+
studentId: number;
|
|
6
|
+
relationship: number;
|
|
7
|
+
staff: User;
|
|
8
|
+
student: User;
|
|
9
|
+
}
|
|
10
|
+
export declare enum STUDENT_ASSIGNMENT_RELATIONSHIP {
|
|
11
|
+
TRAINER = 1,
|
|
12
|
+
SALES = 2,
|
|
13
|
+
ADMISSIONS = 3,
|
|
14
|
+
STARRED = 4
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.STUDENT_ASSIGNMENT_RELATIONSHIP = exports.StudentAssignment = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const user_1 = require("./user");
|
|
7
|
+
let StudentAssignment = class StudentAssignment {
|
|
8
|
+
};
|
|
9
|
+
exports.StudentAssignment = StudentAssignment;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], StudentAssignment.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
16
|
+
tslib_1.__metadata("design:type", Number)
|
|
17
|
+
], StudentAssignment.prototype, "staffId", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
20
|
+
tslib_1.__metadata("design:type", Number)
|
|
21
|
+
], StudentAssignment.prototype, "studentId", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int', default: 1 }),
|
|
24
|
+
tslib_1.__metadata("design:type", Number)
|
|
25
|
+
], StudentAssignment.prototype, "relationship", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.studentsAssigned),
|
|
28
|
+
(0, typeorm_1.JoinColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
30
|
+
], StudentAssignment.prototype, "staff", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.staffsAssigned),
|
|
33
|
+
(0, typeorm_1.JoinColumn)(),
|
|
34
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
35
|
+
], StudentAssignment.prototype, "student", void 0);
|
|
36
|
+
exports.StudentAssignment = StudentAssignment = tslib_1.__decorate([
|
|
37
|
+
(0, typeorm_1.Entity)({ name: 'student_assignments' })
|
|
38
|
+
], StudentAssignment);
|
|
39
|
+
var STUDENT_ASSIGNMENT_RELATIONSHIP;
|
|
40
|
+
(function (STUDENT_ASSIGNMENT_RELATIONSHIP) {
|
|
41
|
+
STUDENT_ASSIGNMENT_RELATIONSHIP[STUDENT_ASSIGNMENT_RELATIONSHIP["TRAINER"] = 1] = "TRAINER";
|
|
42
|
+
STUDENT_ASSIGNMENT_RELATIONSHIP[STUDENT_ASSIGNMENT_RELATIONSHIP["SALES"] = 2] = "SALES";
|
|
43
|
+
STUDENT_ASSIGNMENT_RELATIONSHIP[STUDENT_ASSIGNMENT_RELATIONSHIP["ADMISSIONS"] = 3] = "ADMISSIONS";
|
|
44
|
+
STUDENT_ASSIGNMENT_RELATIONSHIP[STUDENT_ASSIGNMENT_RELATIONSHIP["STARRED"] = 4] = "STARRED";
|
|
45
|
+
})(STUDENT_ASSIGNMENT_RELATIONSHIP || (exports.STUDENT_ASSIGNMENT_RELATIONSHIP = STUDENT_ASSIGNMENT_RELATIONSHIP = {}));
|
|
46
|
+
//# sourceMappingURL=student-assignment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-assignment.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-assignment.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,iCAA8B;AAGvB,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAqB7B,CAAA;AArBY,8CAAiB;AAE5B;IADC,IAAA,gCAAsB,GAAE;;6CACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;kDACR;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;oDACN;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;uDACf;AAKrB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,gBAAgB,CAAC;IACtD,IAAA,oBAAU,GAAE;sCACL,WAAI;gDAAC;AAIb;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC;IACpD,IAAA,oBAAU,GAAE;sCACH,WAAI;kDAAC;4BApBJ,iBAAiB;IAD7B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;GAC3B,iBAAiB,CAqB7B;AAED,IAAY,+BAKX;AALD,WAAY,+BAA+B;IACzC,2FAAW,CAAA;IACX,uFAAK,CAAA;IACL,iGAAU,CAAA;IACV,2FAAO,CAAA;AACT,CAAC,EALW,+BAA+B,+CAA/B,+BAA+B,QAK1C"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { User } from './user';
|
|
2
|
+
export declare class StudentExtra {
|
|
3
|
+
id: number;
|
|
4
|
+
studentStartDate: Date;
|
|
5
|
+
validUntil: Date;
|
|
6
|
+
comments: string;
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
userId: number;
|
|
10
|
+
user: User;
|
|
11
|
+
courseManagerId: number;
|
|
12
|
+
courseManager: User;
|
|
13
|
+
trainingManagerId: number;
|
|
14
|
+
trainingManager: User;
|
|
15
|
+
admissionsManagerId: number;
|
|
16
|
+
admissionsManager: User;
|
|
17
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentExtra = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const user_1 = require("./user");
|
|
7
|
+
let StudentExtra = class StudentExtra {
|
|
8
|
+
};
|
|
9
|
+
exports.StudentExtra = StudentExtra;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], StudentExtra.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'date' }),
|
|
16
|
+
tslib_1.__metadata("design:type", Date)
|
|
17
|
+
], StudentExtra.prototype, "studentStartDate", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'date' }),
|
|
20
|
+
tslib_1.__metadata("design:type", Date)
|
|
21
|
+
], StudentExtra.prototype, "validUntil", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], StudentExtra.prototype, "comments", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
28
|
+
tslib_1.__metadata("design:type", Date)
|
|
29
|
+
], StudentExtra.prototype, "createdAt", void 0);
|
|
30
|
+
tslib_1.__decorate([
|
|
31
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
32
|
+
tslib_1.__metadata("design:type", Date)
|
|
33
|
+
], StudentExtra.prototype, "updatedAt", void 0);
|
|
34
|
+
tslib_1.__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
36
|
+
tslib_1.__metadata("design:type", Number)
|
|
37
|
+
], StudentExtra.prototype, "userId", void 0);
|
|
38
|
+
tslib_1.__decorate([
|
|
39
|
+
(0, typeorm_1.OneToOne)(() => user_1.User, (user) => user.studentExtra),
|
|
40
|
+
(0, typeorm_1.JoinColumn)(),
|
|
41
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
42
|
+
], StudentExtra.prototype, "user", void 0);
|
|
43
|
+
tslib_1.__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
45
|
+
tslib_1.__metadata("design:type", Number)
|
|
46
|
+
], StudentExtra.prototype, "courseManagerId", void 0);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
49
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
50
|
+
], StudentExtra.prototype, "courseManager", void 0);
|
|
51
|
+
tslib_1.__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
53
|
+
tslib_1.__metadata("design:type", Number)
|
|
54
|
+
], StudentExtra.prototype, "trainingManagerId", void 0);
|
|
55
|
+
tslib_1.__decorate([
|
|
56
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
57
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
58
|
+
], StudentExtra.prototype, "trainingManager", void 0);
|
|
59
|
+
tslib_1.__decorate([
|
|
60
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
61
|
+
tslib_1.__metadata("design:type", Number)
|
|
62
|
+
], StudentExtra.prototype, "admissionsManagerId", void 0);
|
|
63
|
+
tslib_1.__decorate([
|
|
64
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
65
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
66
|
+
], StudentExtra.prototype, "admissionsManager", void 0);
|
|
67
|
+
exports.StudentExtra = StudentExtra = tslib_1.__decorate([
|
|
68
|
+
(0, typeorm_1.Entity)({ name: 'student_extras' })
|
|
69
|
+
], StudentExtra);
|
|
70
|
+
//# sourceMappingURL=student-extra.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-extra.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-extra.ts"],"names":[],"mappings":";;;;AAAA,qCASiB;AAEjB,iCAA8B;AAGvB,IAAM,YAAY,GAAlB,MAAM,YAAY;CA2CxB,CAAA;AA3CY,oCAAY;AAEvB;IADC,IAAA,gCAAsB,GAAE;;wCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCACP,IAAI;sDAAC;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;sCACb,IAAI;gDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CACxB;AAGjB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;+CAAC;AAGhB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;+CAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;4CACT;AAIf;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;IACjD,IAAA,oBAAU,GAAE;sCACP,WAAI;0CAAC;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;qDACA;AAGxB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;sCACP,WAAI;mDAAC;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;uDACE;AAG1B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;sCACL,WAAI;qDAAC;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;yDACI;AAG5B;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;sCACH,WAAI;uDAAC;uBA1Cb,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;GACtB,YAAY,CA2CxB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentGoal = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const user_1 = require("./user");
|
|
7
|
+
const profile_1 = require("./profile");
|
|
8
|
+
let StudentGoal = class StudentGoal {
|
|
9
|
+
};
|
|
10
|
+
exports.StudentGoal = StudentGoal;
|
|
11
|
+
tslib_1.__decorate([
|
|
12
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
13
|
+
tslib_1.__metadata("design:type", Number)
|
|
14
|
+
], StudentGoal.prototype, "id", void 0);
|
|
15
|
+
tslib_1.__decorate([
|
|
16
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
17
|
+
tslib_1.__metadata("design:type", Number)
|
|
18
|
+
], StudentGoal.prototype, "country", void 0);
|
|
19
|
+
tslib_1.__decorate([
|
|
20
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: true }),
|
|
21
|
+
tslib_1.__metadata("design:type", String)
|
|
22
|
+
], StudentGoal.prototype, "university", void 0);
|
|
23
|
+
tslib_1.__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 64, nullable: true }),
|
|
25
|
+
tslib_1.__metadata("design:type", String)
|
|
26
|
+
], StudentGoal.prototype, "major", void 0);
|
|
27
|
+
tslib_1.__decorate([
|
|
28
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", Date)
|
|
30
|
+
], StudentGoal.prototype, "createdAt", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
33
|
+
tslib_1.__metadata("design:type", Date)
|
|
34
|
+
], StudentGoal.prototype, "updatedAt", void 0);
|
|
35
|
+
tslib_1.__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
37
|
+
tslib_1.__metadata("design:type", Number)
|
|
38
|
+
], StudentGoal.prototype, "userId", void 0);
|
|
39
|
+
tslib_1.__decorate([
|
|
40
|
+
(0, typeorm_1.OneToOne)(() => user_1.User, (user) => user.studentGoal),
|
|
41
|
+
(0, typeorm_1.JoinColumn)(),
|
|
42
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
43
|
+
], StudentGoal.prototype, "user", void 0);
|
|
44
|
+
exports.StudentGoal = StudentGoal = tslib_1.__decorate([
|
|
45
|
+
(0, typeorm_1.Entity)({ name: 'student_goals' })
|
|
46
|
+
], StudentGoal);
|
|
47
|
+
//# sourceMappingURL=student-goal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-goal.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-goal.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AAEjB,iCAA8B;AAC9B,uCAAoC;AAG7B,IAAM,WAAW,GAAjB,MAAM,WAAW;CAyBvB,CAAA;AAzBY,kCAAW;AAEtB;IADC,IAAA,gCAAsB,GAAE;;uCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;4CACP;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACrC;AAGnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAC1C;AAGd;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;8CAAC;AAGhB;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;8CAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2CACT;AAIf;IAFC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC;IAChD,IAAA,oBAAU,GAAE;sCACP,WAAI;yCAAC;sBAxBA,WAAW;IADvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;GACrB,WAAW,CAyBvB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentNoteChecklistItem = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const student_note_1 = require("./student-note");
|
|
7
|
+
let StudentNoteChecklistItem = class StudentNoteChecklistItem {
|
|
8
|
+
};
|
|
9
|
+
exports.StudentNoteChecklistItem = StudentNoteChecklistItem;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], StudentNoteChecklistItem.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128, nullable: false }),
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
17
|
+
], StudentNoteChecklistItem.prototype, "content", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
20
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
21
|
+
], StudentNoteChecklistItem.prototype, "checked", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
24
|
+
tslib_1.__metadata("design:type", Number)
|
|
25
|
+
], StudentNoteChecklistItem.prototype, "studentNoteId", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => student_note_1.StudentNote, (studentNote) => studentNote.studentNoteChecklistItems),
|
|
28
|
+
(0, typeorm_1.JoinColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", student_note_1.StudentNote)
|
|
30
|
+
], StudentNoteChecklistItem.prototype, "studentNote", void 0);
|
|
31
|
+
exports.StudentNoteChecklistItem = StudentNoteChecklistItem = tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'student_note_checklist_items' })
|
|
33
|
+
], StudentNoteChecklistItem);
|
|
34
|
+
//# sourceMappingURL=student-note-checklist-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-note-checklist-item.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-note-checklist-item.ts"],"names":[],"mappings":";;;;AAAA,qCAAwF;AAExF,iDAA6C;AAGtC,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAgBpC,CAAA;AAhBY,4DAAwB;AAEnC;IADC,IAAA,gCAAsB,GAAE;;oDACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;yDAC1C;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;yDAC3B;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;+DACF;AAItB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,0BAAW,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,yBAAyB,CAAC;IACpF,IAAA,oBAAU,GAAE;sCACA,0BAAW;6DAAC;mCAfd,wBAAwB;IADpC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,8BAA8B,EAAE,CAAC;GACpC,wBAAwB,CAgBpC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Event } from './event';
|
|
2
|
+
import { User } from './user';
|
|
3
|
+
import { File } from './file';
|
|
4
|
+
import { StudentNoteChecklistItem } from './student-note-checklist-item';
|
|
5
|
+
export declare enum STUDENT_NOTE_VISIBILITY {
|
|
6
|
+
STAFF_ONLY = 1,
|
|
7
|
+
ALL = 2
|
|
8
|
+
}
|
|
9
|
+
export declare class StudentNote {
|
|
10
|
+
id: number;
|
|
11
|
+
title: string;
|
|
12
|
+
content: string;
|
|
13
|
+
rating1: number;
|
|
14
|
+
rating2: number;
|
|
15
|
+
rating3: number;
|
|
16
|
+
isPinned: boolean;
|
|
17
|
+
isPublished: boolean;
|
|
18
|
+
visibility: STUDENT_NOTE_VISIBILITY;
|
|
19
|
+
createdAt: Date;
|
|
20
|
+
studentId: number;
|
|
21
|
+
creatorId: number;
|
|
22
|
+
eventId: number;
|
|
23
|
+
student: User;
|
|
24
|
+
creator: User;
|
|
25
|
+
event: Event;
|
|
26
|
+
studentNoteChecklistItems: StudentNoteChecklistItem[];
|
|
27
|
+
files: File[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentNote = exports.STUDENT_NOTE_VISIBILITY = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const event_1 = require("./event");
|
|
7
|
+
const user_1 = require("./user");
|
|
8
|
+
const file_1 = require("./file");
|
|
9
|
+
const student_note_checklist_item_1 = require("./student-note-checklist-item");
|
|
10
|
+
var STUDENT_NOTE_VISIBILITY;
|
|
11
|
+
(function (STUDENT_NOTE_VISIBILITY) {
|
|
12
|
+
STUDENT_NOTE_VISIBILITY[STUDENT_NOTE_VISIBILITY["STAFF_ONLY"] = 1] = "STAFF_ONLY";
|
|
13
|
+
STUDENT_NOTE_VISIBILITY[STUDENT_NOTE_VISIBILITY["ALL"] = 2] = "ALL";
|
|
14
|
+
})(STUDENT_NOTE_VISIBILITY || (exports.STUDENT_NOTE_VISIBILITY = STUDENT_NOTE_VISIBILITY = {}));
|
|
15
|
+
let StudentNote = class StudentNote {
|
|
16
|
+
};
|
|
17
|
+
exports.StudentNote = StudentNote;
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
20
|
+
tslib_1.__metadata("design:type", Number)
|
|
21
|
+
], StudentNote.prototype, "id", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 128 }),
|
|
24
|
+
tslib_1.__metadata("design:type", String)
|
|
25
|
+
], StudentNote.prototype, "title", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
28
|
+
tslib_1.__metadata("design:type", String)
|
|
29
|
+
], StudentNote.prototype, "content", void 0);
|
|
30
|
+
tslib_1.__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'int', default: 1 }),
|
|
32
|
+
tslib_1.__metadata("design:type", Number)
|
|
33
|
+
], StudentNote.prototype, "rating1", void 0);
|
|
34
|
+
tslib_1.__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'int', default: 1 }),
|
|
36
|
+
tslib_1.__metadata("design:type", Number)
|
|
37
|
+
], StudentNote.prototype, "rating2", void 0);
|
|
38
|
+
tslib_1.__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'int', default: 1 }),
|
|
40
|
+
tslib_1.__metadata("design:type", Number)
|
|
41
|
+
], StudentNote.prototype, "rating3", void 0);
|
|
42
|
+
tslib_1.__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
44
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
45
|
+
], StudentNote.prototype, "isPinned", void 0);
|
|
46
|
+
tslib_1.__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false }),
|
|
48
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
49
|
+
], StudentNote.prototype, "isPublished", void 0);
|
|
50
|
+
tslib_1.__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
52
|
+
tslib_1.__metadata("design:type", Number)
|
|
53
|
+
], StudentNote.prototype, "visibility", void 0);
|
|
54
|
+
tslib_1.__decorate([
|
|
55
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
56
|
+
tslib_1.__metadata("design:type", Date)
|
|
57
|
+
], StudentNote.prototype, "createdAt", void 0);
|
|
58
|
+
tslib_1.__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
60
|
+
tslib_1.__metadata("design:type", Number)
|
|
61
|
+
], StudentNote.prototype, "studentId", void 0);
|
|
62
|
+
tslib_1.__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
64
|
+
tslib_1.__metadata("design:type", Number)
|
|
65
|
+
], StudentNote.prototype, "creatorId", void 0);
|
|
66
|
+
tslib_1.__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
68
|
+
tslib_1.__metadata("design:type", Number)
|
|
69
|
+
], StudentNote.prototype, "eventId", void 0);
|
|
70
|
+
tslib_1.__decorate([
|
|
71
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User, (user) => user.studentNotes),
|
|
72
|
+
(0, typeorm_1.JoinColumn)(),
|
|
73
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
74
|
+
], StudentNote.prototype, "student", void 0);
|
|
75
|
+
tslib_1.__decorate([
|
|
76
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
77
|
+
(0, typeorm_1.JoinColumn)(),
|
|
78
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
79
|
+
], StudentNote.prototype, "creator", void 0);
|
|
80
|
+
tslib_1.__decorate([
|
|
81
|
+
(0, typeorm_1.ManyToOne)(() => event_1.Event, (event) => event.studentNotes),
|
|
82
|
+
(0, typeorm_1.JoinColumn)(),
|
|
83
|
+
tslib_1.__metadata("design:type", event_1.Event)
|
|
84
|
+
], StudentNote.prototype, "event", void 0);
|
|
85
|
+
tslib_1.__decorate([
|
|
86
|
+
(0, typeorm_1.OneToMany)(() => student_note_checklist_item_1.StudentNoteChecklistItem, (item) => item.studentNote),
|
|
87
|
+
tslib_1.__metadata("design:type", Array)
|
|
88
|
+
], StudentNote.prototype, "studentNoteChecklistItems", void 0);
|
|
89
|
+
tslib_1.__decorate([
|
|
90
|
+
(0, typeorm_1.OneToMany)(() => file_1.File, (file) => file.studentNote),
|
|
91
|
+
tslib_1.__metadata("design:type", Array)
|
|
92
|
+
], StudentNote.prototype, "files", void 0);
|
|
93
|
+
exports.StudentNote = StudentNote = tslib_1.__decorate([
|
|
94
|
+
(0, typeorm_1.Entity)({ name: 'student_notes' })
|
|
95
|
+
], StudentNote);
|
|
96
|
+
//# sourceMappingURL=student-note.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-note.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-note.ts"],"names":[],"mappings":";;;;AAAA,qCAQiB;AAEjB,mCAAgC;AAChC,iCAA8B;AAC9B,iCAA8B;AAC9B,+EAAyE;AAEzE,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,iFAAc,CAAA;IACd,mEAAG,CAAA;AACL,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC;AAGM,IAAM,WAAW,GAAjB,MAAM,WAAW;CAyDvB,CAAA;AAzDY,kCAAW;AAEtB;IADC,IAAA,gCAAsB,GAAE;;uCACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;0CAC3B;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4CACT;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;4CACpB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;4CACpB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;4CACpB;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CAC1B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;gDACvB;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;+CACY;AAGpC;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;8CAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;8CACN;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;8CACN;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;4CACR;AAIhB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;IAClD,IAAA,oBAAU,GAAE;sCACJ,WAAI;4CAAC;AAId;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;IACrB,IAAA,oBAAU,GAAE;sCACJ,WAAI;4CAAC;AAId;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,aAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;IACrD,IAAA,oBAAU,GAAE;sCACN,aAAK;0CAAC;AAGb;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAwB,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC;;8DAChB;AAGtD;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC;;0CACpC;sBAxDH,WAAW;IADvB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;GACrB,WAAW,CAyDvB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentServiceDeadline = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const student_service_1 = require("./student-service");
|
|
7
|
+
let StudentServiceDeadline = class StudentServiceDeadline {
|
|
8
|
+
};
|
|
9
|
+
exports.StudentServiceDeadline = StudentServiceDeadline;
|
|
10
|
+
tslib_1.__decorate([
|
|
11
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
12
|
+
tslib_1.__metadata("design:type", Number)
|
|
13
|
+
], StudentServiceDeadline.prototype, "id", void 0);
|
|
14
|
+
tslib_1.__decorate([
|
|
15
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20 }),
|
|
16
|
+
tslib_1.__metadata("design:type", String)
|
|
17
|
+
], StudentServiceDeadline.prototype, "date", void 0);
|
|
18
|
+
tslib_1.__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 200 }),
|
|
20
|
+
tslib_1.__metadata("design:type", String)
|
|
21
|
+
], StudentServiceDeadline.prototype, "description", void 0);
|
|
22
|
+
tslib_1.__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
24
|
+
tslib_1.__metadata("design:type", Number)
|
|
25
|
+
], StudentServiceDeadline.prototype, "studentServiceId", void 0);
|
|
26
|
+
tslib_1.__decorate([
|
|
27
|
+
(0, typeorm_1.ManyToOne)(() => student_service_1.StudentService, (service) => service.studentServiceDeadlines),
|
|
28
|
+
tslib_1.__metadata("design:type", student_service_1.StudentService)
|
|
29
|
+
], StudentServiceDeadline.prototype, "studentService", void 0);
|
|
30
|
+
exports.StudentServiceDeadline = StudentServiceDeadline = tslib_1.__decorate([
|
|
31
|
+
(0, typeorm_1.Entity)({ name: 'student_service_deadlines' })
|
|
32
|
+
], StudentServiceDeadline);
|
|
33
|
+
//# sourceMappingURL=student-service-deadline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-service-deadline.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-service-deadline.ts"],"names":[],"mappings":";;;;AAAA,qCAA4E;AAE5E,uDAAmD;AAG5C,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;CAelC,CAAA;AAfY,wDAAsB;AAEjC;IADC,IAAA,gCAAsB,GAAE;;kDACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;;oDAC3B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;2DACrB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;gEACC;AAGzB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,gCAAc,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC;sCAC9D,gCAAc;8DAAC;iCAdpB,sBAAsB;IADlC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;GACjC,sBAAsB,CAelC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StudentServiceMembership } from './student-service-membership';
|
|
2
|
+
import { User } from './user';
|
|
3
|
+
export declare enum MEMBERSHIP_LOG_TYPE {
|
|
4
|
+
CREATED = 1,
|
|
5
|
+
UPDATED = 2,
|
|
6
|
+
SALE_ADDED = 3,
|
|
7
|
+
SALE_UPDATED = 4,
|
|
8
|
+
SALE_DELETED = 5,
|
|
9
|
+
EVENT_ADDED = 6,
|
|
10
|
+
EVENT_UPDATED = 7,
|
|
11
|
+
EVENT_DELETED = 8,
|
|
12
|
+
AUDIT_SERVICE = 9,
|
|
13
|
+
EVENT_RESTORED = 10
|
|
14
|
+
}
|
|
15
|
+
export declare class StudentServiceMembershipLog {
|
|
16
|
+
id: number;
|
|
17
|
+
type: MEMBERSHIP_LOG_TYPE;
|
|
18
|
+
payload: string;
|
|
19
|
+
note?: string;
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
originId?: number;
|
|
22
|
+
studentServiceMembership: StudentServiceMembership;
|
|
23
|
+
studentServiceMembershipId: number;
|
|
24
|
+
user: User;
|
|
25
|
+
userId: number;
|
|
26
|
+
constructor(data?: any);
|
|
27
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StudentServiceMembershipLog = exports.MEMBERSHIP_LOG_TYPE = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const typeorm_1 = require("typeorm");
|
|
6
|
+
const student_service_membership_1 = require("./student-service-membership");
|
|
7
|
+
const user_1 = require("./user");
|
|
8
|
+
var MEMBERSHIP_LOG_TYPE;
|
|
9
|
+
(function (MEMBERSHIP_LOG_TYPE) {
|
|
10
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["CREATED"] = 1] = "CREATED";
|
|
11
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["UPDATED"] = 2] = "UPDATED";
|
|
12
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["SALE_ADDED"] = 3] = "SALE_ADDED";
|
|
13
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["SALE_UPDATED"] = 4] = "SALE_UPDATED";
|
|
14
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["SALE_DELETED"] = 5] = "SALE_DELETED";
|
|
15
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["EVENT_ADDED"] = 6] = "EVENT_ADDED";
|
|
16
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["EVENT_UPDATED"] = 7] = "EVENT_UPDATED";
|
|
17
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["EVENT_DELETED"] = 8] = "EVENT_DELETED";
|
|
18
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["AUDIT_SERVICE"] = 9] = "AUDIT_SERVICE";
|
|
19
|
+
MEMBERSHIP_LOG_TYPE[MEMBERSHIP_LOG_TYPE["EVENT_RESTORED"] = 10] = "EVENT_RESTORED";
|
|
20
|
+
})(MEMBERSHIP_LOG_TYPE || (exports.MEMBERSHIP_LOG_TYPE = MEMBERSHIP_LOG_TYPE = {}));
|
|
21
|
+
let StudentServiceMembershipLog = class StudentServiceMembershipLog {
|
|
22
|
+
constructor(data = {}) {
|
|
23
|
+
Object.assign(this, data);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.StudentServiceMembershipLog = StudentServiceMembershipLog;
|
|
27
|
+
tslib_1.__decorate([
|
|
28
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
29
|
+
tslib_1.__metadata("design:type", Number)
|
|
30
|
+
], StudentServiceMembershipLog.prototype, "id", void 0);
|
|
31
|
+
tslib_1.__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
33
|
+
tslib_1.__metadata("design:type", Number)
|
|
34
|
+
], StudentServiceMembershipLog.prototype, "type", void 0);
|
|
35
|
+
tslib_1.__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
37
|
+
tslib_1.__metadata("design:type", String)
|
|
38
|
+
], StudentServiceMembershipLog.prototype, "payload", void 0);
|
|
39
|
+
tslib_1.__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
41
|
+
tslib_1.__metadata("design:type", String)
|
|
42
|
+
], StudentServiceMembershipLog.prototype, "note", void 0);
|
|
43
|
+
tslib_1.__decorate([
|
|
44
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
45
|
+
tslib_1.__metadata("design:type", Date)
|
|
46
|
+
], StudentServiceMembershipLog.prototype, "createdAt", void 0);
|
|
47
|
+
tslib_1.__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
49
|
+
tslib_1.__metadata("design:type", Number)
|
|
50
|
+
], StudentServiceMembershipLog.prototype, "originId", void 0);
|
|
51
|
+
tslib_1.__decorate([
|
|
52
|
+
(0, typeorm_1.ManyToOne)(() => student_service_membership_1.StudentServiceMembership, (studentServiceMembership) => studentServiceMembership.studentServiceMembershipLogs),
|
|
53
|
+
(0, typeorm_1.JoinColumn)(),
|
|
54
|
+
tslib_1.__metadata("design:type", student_service_membership_1.StudentServiceMembership)
|
|
55
|
+
], StudentServiceMembershipLog.prototype, "studentServiceMembership", void 0);
|
|
56
|
+
tslib_1.__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
58
|
+
tslib_1.__metadata("design:type", Number)
|
|
59
|
+
], StudentServiceMembershipLog.prototype, "studentServiceMembershipId", void 0);
|
|
60
|
+
tslib_1.__decorate([
|
|
61
|
+
(0, typeorm_1.ManyToOne)(() => user_1.User),
|
|
62
|
+
(0, typeorm_1.JoinColumn)(),
|
|
63
|
+
tslib_1.__metadata("design:type", user_1.User)
|
|
64
|
+
], StudentServiceMembershipLog.prototype, "user", void 0);
|
|
65
|
+
tslib_1.__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'int' }),
|
|
67
|
+
tslib_1.__metadata("design:type", Number)
|
|
68
|
+
], StudentServiceMembershipLog.prototype, "userId", void 0);
|
|
69
|
+
exports.StudentServiceMembershipLog = StudentServiceMembershipLog = tslib_1.__decorate([
|
|
70
|
+
(0, typeorm_1.Entity)({ name: 'student_service_membership_logs' }),
|
|
71
|
+
tslib_1.__metadata("design:paramtypes", [Object])
|
|
72
|
+
], StudentServiceMembershipLog);
|
|
73
|
+
//# sourceMappingURL=student-service-membership-log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student-service-membership-log.js","sourceRoot":"","sources":["../../../../../libs/model/src/model/student-service-membership-log.ts"],"names":[],"mappings":";;;;AAAA,qCAOiB;AAEjB,6EAAwE;AACxE,iCAA8B;AAE9B,IAAY,mBAWX;AAXD,WAAY,mBAAmB;IAC7B,mEAAW,CAAA;IACX,mEAAO,CAAA;IACP,yEAAU,CAAA;IACV,6EAAY,CAAA;IACZ,6EAAY,CAAA;IACZ,2EAAW,CAAA;IACX,+EAAa,CAAA;IACb,+EAAa,CAAA;IACb,+EAAa,CAAA;IACb,kFAAc,CAAA;AAChB,CAAC,EAXW,mBAAmB,mCAAnB,mBAAmB,QAW9B;AAGM,IAAM,2BAA2B,GAAjC,MAAM,2BAA2B;IAoCtC,YAAmB,OAAY,EAAE;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AAvCY,kEAA2B;AAEtC;IADC,IAAA,gCAAsB,GAAE;;uDACd;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;yDACE;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;4DACT;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;;yDACX;AAGd;IADC,IAAA,0BAAgB,GAAE;sCACR,IAAI;8DAAC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;6DACN;AAOlB;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,qDAAwB,EAC9B,CAAC,wBAAwB,EAAE,EAAE,CAAC,wBAAwB,CAAC,4BAA4B,CACpF;IACA,IAAA,oBAAU,GAAE;sCACa,qDAAwB;6EAAC;AAGnD;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;+EACW;AAInC;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;IACrB,IAAA,oBAAU,GAAE;sCACP,WAAI;yDAAC;AAGX;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;;2DACT;sCAlCJ,2BAA2B;IADvC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,iCAAiC,EAAE,CAAC;;GACvC,2BAA2B,CAuCvC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StudentService } from './student-service';
|
|
2
|
+
import { StudentServiceMembershipLog } from './student-service-membership-log';
|
|
3
|
+
export declare class StudentServiceMembership {
|
|
4
|
+
id: number;
|
|
5
|
+
practiceTestAccess: boolean;
|
|
6
|
+
diagnosticTestAccess: boolean;
|
|
7
|
+
purchasedHours: number;
|
|
8
|
+
scheduledHours: number;
|
|
9
|
+
usedHours: number;
|
|
10
|
+
adjustingHours: number;
|
|
11
|
+
transferredHours: number;
|
|
12
|
+
schools: number;
|
|
13
|
+
createdAt: Date;
|
|
14
|
+
updatedAt: Date;
|
|
15
|
+
studentService: StudentService;
|
|
16
|
+
studentServiceId: number;
|
|
17
|
+
studentServiceMembershipLogs: StudentServiceMembershipLog[];
|
|
18
|
+
constructor(data?: any);
|
|
19
|
+
}
|