@intelact/driveup 0.0.1 → 0.1.0
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/lib/agent/agent.model.d.ts +11 -0
- package/lib/agent/agent.model.js +55 -0
- package/lib/agent/agent.model.js.map +1 -0
- package/lib/agent/code.model.d.ts +9 -0
- package/lib/agent/code.model.js +49 -0
- package/lib/agent/code.model.js.map +1 -0
- package/lib/agent/index.d.ts +3 -0
- package/lib/agent/index.js +20 -0
- package/lib/agent/index.js.map +1 -0
- package/lib/agent/payout.model.d.ts +14 -0
- package/lib/agent/payout.model.js +67 -0
- package/lib/agent/payout.model.js.map +1 -0
- package/lib/company/company.model.d.ts +43 -0
- package/lib/company/company.model.js +153 -0
- package/lib/company/company.model.js.map +1 -0
- package/lib/company/course/appointment.model.d.ts +13 -0
- package/lib/company/course/appointment.model.js +60 -0
- package/lib/company/course/appointment.model.js.map +1 -0
- package/lib/company/course/course.model.d.ts +18 -0
- package/lib/company/course/course.model.js +87 -0
- package/lib/company/course/course.model.js.map +1 -0
- package/lib/company/course/finances/discount.model.d.ts +9 -0
- package/lib/company/course/finances/discount.model.js +45 -0
- package/lib/company/course/finances/discount.model.js.map +1 -0
- package/lib/company/course/finances/index.d.ts +5 -0
- package/lib/company/course/finances/index.js +22 -0
- package/lib/company/course/finances/index.js.map +1 -0
- package/lib/company/course/finances/invoice-item.model.d.ts +8 -0
- package/lib/company/course/finances/invoice-item.model.js +44 -0
- package/lib/company/course/finances/invoice-item.model.js.map +1 -0
- package/lib/company/course/finances/invoice.model.d.ts +20 -0
- package/lib/company/course/finances/invoice.model.js +92 -0
- package/lib/company/course/finances/invoice.model.js.map +1 -0
- package/lib/company/course/finances/payment.model.d.ts +16 -0
- package/lib/company/course/finances/payment.model.js +76 -0
- package/lib/company/course/finances/payment.model.js.map +1 -0
- package/lib/company/course/finances/refund.model.d.ts +9 -0
- package/lib/company/course/finances/refund.model.js +45 -0
- package/lib/company/course/finances/refund.model.js.map +1 -0
- package/lib/company/course/index.d.ts +4 -0
- package/lib/company/course/index.js +21 -0
- package/lib/company/course/index.js.map +1 -0
- package/lib/company/course/part.model.d.ts +12 -0
- package/lib/company/course/part.model.js +58 -0
- package/lib/company/course/part.model.js.map +1 -0
- package/lib/company/driving/category.model.d.ts +19 -0
- package/lib/company/driving/category.model.js +97 -0
- package/lib/company/driving/category.model.js.map +1 -0
- package/lib/company/driving/finances/discount.model.d.ts +9 -0
- package/lib/company/driving/finances/discount.model.js +45 -0
- package/lib/company/driving/finances/discount.model.js.map +1 -0
- package/lib/company/driving/finances/index.d.ts +5 -0
- package/lib/company/driving/finances/index.js +22 -0
- package/lib/company/driving/finances/index.js.map +1 -0
- package/lib/company/driving/finances/invoice-item.model.d.ts +8 -0
- package/lib/company/driving/finances/invoice-item.model.js +44 -0
- package/lib/company/driving/finances/invoice-item.model.js.map +1 -0
- package/lib/company/driving/finances/invoice.model.d.ts +20 -0
- package/lib/company/driving/finances/invoice.model.js +92 -0
- package/lib/company/driving/finances/invoice.model.js.map +1 -0
- package/lib/company/driving/finances/payment.model.d.ts +16 -0
- package/lib/company/driving/finances/payment.model.js +76 -0
- package/lib/company/driving/finances/payment.model.js.map +1 -0
- package/lib/company/driving/finances/refund.model.d.ts +9 -0
- package/lib/company/driving/finances/refund.model.js +45 -0
- package/lib/company/driving/finances/refund.model.js.map +1 -0
- package/lib/company/driving/index.d.ts +4 -0
- package/lib/company/driving/index.js +21 -0
- package/lib/company/driving/index.js.map +1 -0
- package/lib/company/driving/skill.model.d.ts +12 -0
- package/lib/company/driving/skill.model.js +59 -0
- package/lib/company/driving/skill.model.js.map +1 -0
- package/lib/company/driving/topic.model.d.ts +14 -0
- package/lib/company/driving/topic.model.js +68 -0
- package/lib/company/driving/topic.model.js.map +1 -0
- package/lib/company/event.model.d.ts +11 -0
- package/lib/company/event.model.js +57 -0
- package/lib/company/event.model.js.map +1 -0
- package/lib/company/finances/card.model.d.ts +11 -0
- package/lib/company/finances/card.model.js +56 -0
- package/lib/company/finances/card.model.js.map +1 -0
- package/lib/company/finances/credit.model.d.ts +13 -0
- package/lib/company/finances/credit.model.js +64 -0
- package/lib/company/finances/credit.model.js.map +1 -0
- package/lib/company/finances/expense-category.model.d.ts +8 -0
- package/lib/company/finances/expense-category.model.js +39 -0
- package/lib/company/finances/expense-category.model.js.map +1 -0
- package/lib/company/finances/expense.model.d.ts +14 -0
- package/lib/company/finances/expense.model.js +63 -0
- package/lib/company/finances/expense.model.js.map +1 -0
- package/lib/company/finances/index.d.ts +6 -0
- package/lib/company/finances/index.js +23 -0
- package/lib/company/finances/index.js.map +1 -0
- package/lib/company/finances/payment.model.d.ts +8 -0
- package/lib/company/finances/payment.model.js +40 -0
- package/lib/company/finances/payment.model.js.map +1 -0
- package/lib/company/finances/priceplan.model.d.ts +19 -0
- package/lib/company/finances/priceplan.model.js +95 -0
- package/lib/company/finances/priceplan.model.js.map +1 -0
- package/lib/company/index.d.ts +6 -0
- package/lib/company/index.js +23 -0
- package/lib/company/index.js.map +1 -0
- package/lib/company/user.model.d.ts +29 -0
- package/lib/company/user.model.js +128 -0
- package/lib/company/user.model.js.map +1 -0
- package/lib/enums/date.d.ts +9 -0
- package/lib/enums/date.js +14 -0
- package/lib/enums/date.js.map +1 -0
- package/lib/enums/finance.d.ts +22 -0
- package/lib/enums/finance.js +31 -0
- package/lib/enums/finance.js.map +1 -0
- package/lib/enums/index.d.ts +7 -0
- package/lib/enums/index.js +24 -0
- package/lib/enums/index.js.map +1 -0
- package/lib/enums/language.d.ts +6 -0
- package/lib/enums/language.js +11 -0
- package/lib/enums/language.js.map +1 -0
- package/lib/enums/notification.d.ts +11 -0
- package/lib/enums/notification.js +17 -0
- package/lib/enums/notification.js.map +1 -0
- package/lib/enums/plan.d.ts +9 -0
- package/lib/enums/plan.js +15 -0
- package/lib/enums/plan.js.map +1 -0
- package/lib/enums/score.d.ts +12 -0
- package/lib/enums/score.js +18 -0
- package/lib/enums/score.js.map +1 -0
- package/lib/enums/training.d.ts +24 -0
- package/lib/enums/training.js +33 -0
- package/lib/enums/training.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib/security/acl.d.ts +1 -0
- package/lib/security/acl.js +6 -0
- package/lib/security/acl.js.map +1 -0
- package/lib/security/index.d.ts +4 -0
- package/lib/security/index.js +21 -0
- package/lib/security/index.js.map +1 -0
- package/lib/security/permissions.d.ts +4 -0
- package/lib/security/permissions.js +9 -0
- package/lib/security/permissions.js.map +1 -0
- package/lib/security/roles.d.ts +9 -0
- package/lib/security/roles.js +14 -0
- package/lib/security/roles.js.map +1 -0
- package/lib/security/token.interface.d.ts +7 -0
- package/lib/security/token.interface.js +3 -0
- package/lib/security/token.interface.js.map +1 -0
- package/lib/student/course/appointment.model.d.ts +8 -0
- package/lib/student/course/appointment.model.js +40 -0
- package/lib/student/course/appointment.model.js.map +1 -0
- package/lib/student/course/index.d.ts +3 -0
- package/lib/student/course/index.js +20 -0
- package/lib/student/course/index.js.map +1 -0
- package/lib/student/course/request.model.d.ts +19 -0
- package/lib/student/course/request.model.js +85 -0
- package/lib/student/course/request.model.js.map +1 -0
- package/lib/student/course/training.model.d.ts +30 -0
- package/lib/student/course/training.model.js +136 -0
- package/lib/student/course/training.model.js.map +1 -0
- package/lib/student/driving/appointment-skill.model.d.ts +9 -0
- package/lib/student/driving/appointment-skill.model.js +40 -0
- package/lib/student/driving/appointment-skill.model.js.map +1 -0
- package/lib/student/driving/appointment-topic.model.d.ts +11 -0
- package/lib/student/driving/appointment-topic.model.js +47 -0
- package/lib/student/driving/appointment-topic.model.js.map +1 -0
- package/lib/student/driving/appointment.model.d.ts +19 -0
- package/lib/student/driving/appointment.model.js +89 -0
- package/lib/student/driving/appointment.model.js.map +1 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.d.ts +8 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js +40 -0
- package/lib/student/driving/exam/exam-topic-assesment.model.js.map +1 -0
- package/lib/student/driving/exam/exam.model.d.ts +11 -0
- package/lib/student/driving/exam/exam.model.js +50 -0
- package/lib/student/driving/exam/exam.model.js.map +1 -0
- package/lib/student/driving/index.d.ts +9 -0
- package/lib/student/driving/index.js +26 -0
- package/lib/student/driving/index.js.map +1 -0
- package/lib/student/driving/request.model.d.ts +17 -0
- package/lib/student/driving/request.model.js +82 -0
- package/lib/student/driving/request.model.js.map +1 -0
- package/lib/student/driving/skill.model.d.ts +13 -0
- package/lib/student/driving/skill.model.js +54 -0
- package/lib/student/driving/skill.model.js.map +1 -0
- package/lib/student/driving/topic.model.d.ts +16 -0
- package/lib/student/driving/topic.model.js +67 -0
- package/lib/student/driving/topic.model.js.map +1 -0
- package/lib/student/driving/training.model.d.ts +44 -0
- package/lib/student/driving/training.model.js +202 -0
- package/lib/student/driving/training.model.js.map +1 -0
- package/lib/student/index.d.ts +4 -0
- package/lib/student/index.js +21 -0
- package/lib/student/index.js.map +1 -0
- package/lib/student/signature.model.d.ts +10 -0
- package/lib/student/signature.model.js +50 -0
- package/lib/student/signature.model.js.map +1 -0
- package/lib/student/student.model.d.ts +13 -0
- package/lib/student/student.model.js +58 -0
- package/lib/student/student.model.js.map +1 -0
- package/lib/system/country.model.d.ts +18 -0
- package/lib/system/country.model.js +84 -0
- package/lib/system/country.model.js.map +1 -0
- package/lib/system/driving/category.model.d.ts +14 -0
- package/lib/system/driving/category.model.js +73 -0
- package/lib/system/driving/category.model.js.map +1 -0
- package/lib/system/driving/category.trans.model.d.ts +8 -0
- package/lib/system/driving/category.trans.model.js +42 -0
- package/lib/system/driving/category.trans.model.js.map +1 -0
- package/lib/system/driving/skill.model.d.ts +11 -0
- package/lib/system/driving/skill.model.js +61 -0
- package/lib/system/driving/skill.model.js.map +1 -0
- package/lib/system/driving/skill.trans.model.d.ts +9 -0
- package/lib/system/driving/skill.trans.model.js +48 -0
- package/lib/system/driving/skill.trans.model.js.map +1 -0
- package/lib/system/driving/topic.model.d.ts +12 -0
- package/lib/system/driving/topic.model.js +62 -0
- package/lib/system/driving/topic.model.js.map +1 -0
- package/lib/system/driving/topic.trans.model.d.ts +8 -0
- package/lib/system/driving/topic.trans.model.js +42 -0
- package/lib/system/driving/topic.trans.model.js.map +1 -0
- package/lib/system/finances/currency.model.d.ts +11 -0
- package/lib/system/finances/currency.model.js +60 -0
- package/lib/system/finances/currency.model.js.map +1 -0
- package/lib/system/finances/index.d.ts +2 -0
- package/lib/system/finances/index.js +19 -0
- package/lib/system/finances/index.js.map +1 -0
- package/lib/system/finances/priceplan.model.d.ts +15 -0
- package/lib/system/finances/priceplan.model.js +74 -0
- package/lib/system/finances/priceplan.model.js.map +1 -0
- package/lib/system/finances/priceplan.translation.d.ts +8 -0
- package/lib/system/finances/priceplan.translation.js +42 -0
- package/lib/system/finances/priceplan.translation.js.map +1 -0
- package/lib/system/index.d.ts +2 -0
- package/lib/system/index.js +19 -0
- package/lib/system/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/index.d.ts +1 -0
- package/lib/user/index.js +1 -0
- package/lib/user/index.js.map +1 -1
- package/lib/user/notification/index.d.ts +2 -0
- package/lib/user/notification/index.js +19 -0
- package/lib/user/notification/index.js.map +1 -0
- package/lib/user/notification/notification-preference.model.d.ts +4 -0
- package/lib/user/notification/notification-preference.model.js +25 -0
- package/lib/user/notification/notification-preference.model.js.map +1 -0
- package/lib/user/notification/notification.model.d.ts +11 -0
- package/lib/user/notification/notification.model.js +54 -0
- package/lib/user/notification/notification.model.js.map +1 -0
- package/lib/user/user.model.d.ts +30 -1
- package/lib/user/user.model.js +116 -2
- package/lib/user/user.model.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.StudentDrivingTraining = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
15
|
+
const student_model_1 = require("../student.model");
|
|
16
|
+
const user_model_1 = require("../../company/user.model");
|
|
17
|
+
const category_model_1 = require("../../company/driving/category.model");
|
|
18
|
+
const topic_model_1 = require("./topic.model");
|
|
19
|
+
const skill_model_1 = require("./skill.model");
|
|
20
|
+
const appointment_model_1 = require("./appointment.model");
|
|
21
|
+
const exam_model_1 = require("./exam/exam.model");
|
|
22
|
+
const discount_model_1 = require("../../company/driving/finances/discount.model");
|
|
23
|
+
const invoice_model_1 = require("../../company/driving/finances/invoice.model");
|
|
24
|
+
const payment_model_1 = require("../../company/driving/finances/payment.model");
|
|
25
|
+
const refund_model_1 = require("../../company/driving/finances/refund.model");
|
|
26
|
+
class StudentDrivingTraining {
|
|
27
|
+
archivedDate;
|
|
28
|
+
licenseNumber;
|
|
29
|
+
licenseExpirationDate;
|
|
30
|
+
sessionPrice;
|
|
31
|
+
sessionDuration;
|
|
32
|
+
administrationFee;
|
|
33
|
+
transmission;
|
|
34
|
+
terminationNote;
|
|
35
|
+
status;
|
|
36
|
+
calendarEnabled;
|
|
37
|
+
cost;
|
|
38
|
+
balance;
|
|
39
|
+
discount;
|
|
40
|
+
refund;
|
|
41
|
+
studentRating;
|
|
42
|
+
student;
|
|
43
|
+
instructor;
|
|
44
|
+
registeredBy;
|
|
45
|
+
completedBy;
|
|
46
|
+
terminatedBy;
|
|
47
|
+
category;
|
|
48
|
+
topics;
|
|
49
|
+
skills;
|
|
50
|
+
appointments;
|
|
51
|
+
exams;
|
|
52
|
+
payments;
|
|
53
|
+
discounts;
|
|
54
|
+
refunds;
|
|
55
|
+
invoices;
|
|
56
|
+
constructor(props) {
|
|
57
|
+
Object.assign(this, props);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.StudentDrivingTraining = StudentDrivingTraining;
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_transformer_1.Expose)(),
|
|
63
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
64
|
+
__metadata("design:type", Date)
|
|
65
|
+
], StudentDrivingTraining.prototype, "archivedDate", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_transformer_1.Expose)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], StudentDrivingTraining.prototype, "licenseNumber", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_transformer_1.Expose)(),
|
|
72
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
73
|
+
__metadata("design:type", Date)
|
|
74
|
+
], StudentDrivingTraining.prototype, "licenseExpirationDate", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_transformer_1.Expose)(),
|
|
77
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], StudentDrivingTraining.prototype, "sessionPrice", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_transformer_1.Expose)(),
|
|
82
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], StudentDrivingTraining.prototype, "sessionDuration", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_transformer_1.Expose)(),
|
|
87
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
88
|
+
__metadata("design:type", Number)
|
|
89
|
+
], StudentDrivingTraining.prototype, "administrationFee", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_transformer_1.Expose)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], StudentDrivingTraining.prototype, "transmission", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_transformer_1.Expose)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], StudentDrivingTraining.prototype, "terminationNote", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_transformer_1.Expose)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], StudentDrivingTraining.prototype, "status", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, class_transformer_1.Expose)(),
|
|
104
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
105
|
+
__metadata("design:type", Boolean)
|
|
106
|
+
], StudentDrivingTraining.prototype, "calendarEnabled", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_transformer_1.Expose)(),
|
|
109
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
110
|
+
__metadata("design:type", Number)
|
|
111
|
+
], StudentDrivingTraining.prototype, "cost", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, class_transformer_1.Expose)(),
|
|
114
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
115
|
+
__metadata("design:type", Number)
|
|
116
|
+
], StudentDrivingTraining.prototype, "balance", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, class_transformer_1.Expose)(),
|
|
119
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
120
|
+
__metadata("design:type", Number)
|
|
121
|
+
], StudentDrivingTraining.prototype, "discount", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_transformer_1.Expose)(),
|
|
124
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
125
|
+
__metadata("design:type", Number)
|
|
126
|
+
], StudentDrivingTraining.prototype, "refund", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_transformer_1.Expose)(),
|
|
129
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
130
|
+
__metadata("design:type", Number)
|
|
131
|
+
], StudentDrivingTraining.prototype, "studentRating", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, class_transformer_1.Expose)(),
|
|
134
|
+
(0, class_transformer_1.Type)(() => student_model_1.Student),
|
|
135
|
+
__metadata("design:type", student_model_1.Student)
|
|
136
|
+
], StudentDrivingTraining.prototype, "student", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, class_transformer_1.Expose)(),
|
|
139
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
140
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
141
|
+
], StudentDrivingTraining.prototype, "instructor", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, class_transformer_1.Expose)(),
|
|
144
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
145
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
146
|
+
], StudentDrivingTraining.prototype, "registeredBy", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, class_transformer_1.Expose)(),
|
|
149
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
150
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
151
|
+
], StudentDrivingTraining.prototype, "completedBy", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, class_transformer_1.Expose)(),
|
|
154
|
+
(0, class_transformer_1.Type)(() => user_model_1.CompanyUser),
|
|
155
|
+
__metadata("design:type", user_model_1.CompanyUser)
|
|
156
|
+
], StudentDrivingTraining.prototype, "terminatedBy", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, class_transformer_1.Expose)(),
|
|
159
|
+
(0, class_transformer_1.Type)(() => category_model_1.DrivingCategory),
|
|
160
|
+
__metadata("design:type", category_model_1.DrivingCategory)
|
|
161
|
+
], StudentDrivingTraining.prototype, "category", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, class_transformer_1.Expose)(),
|
|
164
|
+
(0, class_transformer_1.Type)(() => topic_model_1.StudentDrivingTopic),
|
|
165
|
+
__metadata("design:type", Array)
|
|
166
|
+
], StudentDrivingTraining.prototype, "topics", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, class_transformer_1.Expose)(),
|
|
169
|
+
(0, class_transformer_1.Type)(() => skill_model_1.StudentDrivingSkill),
|
|
170
|
+
__metadata("design:type", Array)
|
|
171
|
+
], StudentDrivingTraining.prototype, "skills", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, class_transformer_1.Expose)(),
|
|
174
|
+
(0, class_transformer_1.Type)(() => appointment_model_1.StudentDrivingAppointment),
|
|
175
|
+
__metadata("design:type", Array)
|
|
176
|
+
], StudentDrivingTraining.prototype, "appointments", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, class_transformer_1.Expose)(),
|
|
179
|
+
(0, class_transformer_1.Type)(() => exam_model_1.StudentDrivingExam),
|
|
180
|
+
__metadata("design:type", Array)
|
|
181
|
+
], StudentDrivingTraining.prototype, "exams", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, class_transformer_1.Expose)(),
|
|
184
|
+
(0, class_transformer_1.Type)(() => payment_model_1.DrivingPayment),
|
|
185
|
+
__metadata("design:type", Array)
|
|
186
|
+
], StudentDrivingTraining.prototype, "payments", void 0);
|
|
187
|
+
__decorate([
|
|
188
|
+
(0, class_transformer_1.Expose)(),
|
|
189
|
+
(0, class_transformer_1.Type)(() => discount_model_1.DrivingDiscount),
|
|
190
|
+
__metadata("design:type", Array)
|
|
191
|
+
], StudentDrivingTraining.prototype, "discounts", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, class_transformer_1.Expose)(),
|
|
194
|
+
(0, class_transformer_1.Type)(() => refund_model_1.DrivingRefund),
|
|
195
|
+
__metadata("design:type", Array)
|
|
196
|
+
], StudentDrivingTraining.prototype, "refunds", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, class_transformer_1.Expose)(),
|
|
199
|
+
(0, class_transformer_1.Type)(() => invoice_model_1.DrivingInvoice),
|
|
200
|
+
__metadata("design:type", Array)
|
|
201
|
+
], StudentDrivingTraining.prototype, "invoices", void 0);
|
|
202
|
+
//# sourceMappingURL=training.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"training.model.js","sourceRoot":"","sources":["../../../src/student/driving/training.model.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./student.model"), exports);
|
|
18
|
+
__exportStar(require("./signature.model"), exports);
|
|
19
|
+
__exportStar(require("./driving"), exports);
|
|
20
|
+
__exportStar(require("./course"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/student/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,4CAA0B;AAC1B,2CAAyB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { User } from "../user";
|
|
2
|
+
import { StudentDrivingAppointment } from "./driving/appointment.model";
|
|
3
|
+
export declare class StudentSignature {
|
|
4
|
+
description: string;
|
|
5
|
+
date: Date;
|
|
6
|
+
imageUrl: string;
|
|
7
|
+
user: User;
|
|
8
|
+
drivingAppointment: StudentDrivingAppointment;
|
|
9
|
+
constructor(props?: Partial<StudentSignature>);
|
|
10
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.StudentSignature = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const user_1 = require("../user");
|
|
15
|
+
const appointment_model_1 = require("./driving/appointment.model");
|
|
16
|
+
class StudentSignature {
|
|
17
|
+
description;
|
|
18
|
+
date;
|
|
19
|
+
imageUrl;
|
|
20
|
+
user;
|
|
21
|
+
drivingAppointment;
|
|
22
|
+
constructor(props) {
|
|
23
|
+
Object.assign(this, props);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.StudentSignature = StudentSignature;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_transformer_1.Expose)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], StudentSignature.prototype, "description", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
34
|
+
__metadata("design:type", Date)
|
|
35
|
+
], StudentSignature.prototype, "date", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], StudentSignature.prototype, "imageUrl", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_transformer_1.Expose)(),
|
|
42
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
43
|
+
__metadata("design:type", user_1.User)
|
|
44
|
+
], StudentSignature.prototype, "user", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_transformer_1.Expose)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => appointment_model_1.StudentDrivingAppointment),
|
|
48
|
+
__metadata("design:type", appointment_model_1.StudentDrivingAppointment)
|
|
49
|
+
], StudentSignature.prototype, "drivingAppointment", void 0);
|
|
50
|
+
//# sourceMappingURL=signature.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signature.model.js","sourceRoot":"","sources":["../../src/student/signature.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAC/B,mEAAwE;AAExE,MAAa,gBAAgB;IAK5B,WAAW,CAAS;IAIpB,IAAI,CAAO;IAGX,QAAQ,CAAS;IAMjB,IAAI,CAAO;IAIX,kBAAkB,CAA4B;IAI9C,YAAY,KAAiC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7BD,4CA6BC;AAxBA;IADC,IAAA,0BAAM,GAAE;;qDACW;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACX,IAAI;8CAAC;AAGX;IADC,IAAA,0BAAM,GAAE;;kDACQ;AAMjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACX,WAAI;8CAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,6CAAyB,CAAC;8BAClB,6CAAyB;4DAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Company } from "../company";
|
|
2
|
+
import { User } from "../user";
|
|
3
|
+
import { StudentCourseTraining } from "./course/training.model";
|
|
4
|
+
import { StudentDrivingTraining } from "./driving/training.model";
|
|
5
|
+
export declare class Student {
|
|
6
|
+
name: string;
|
|
7
|
+
avatarUrl: string;
|
|
8
|
+
user: User;
|
|
9
|
+
company: Company;
|
|
10
|
+
drivingTrainings: StudentDrivingTraining[];
|
|
11
|
+
courseTrainings: StudentCourseTraining[];
|
|
12
|
+
constructor(props?: Partial<Student>);
|
|
13
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Student = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const company_1 = require("../company");
|
|
15
|
+
const user_1 = require("../user");
|
|
16
|
+
const training_model_1 = require("./course/training.model");
|
|
17
|
+
const training_model_2 = require("./driving/training.model");
|
|
18
|
+
class Student {
|
|
19
|
+
name;
|
|
20
|
+
avatarUrl;
|
|
21
|
+
user;
|
|
22
|
+
company;
|
|
23
|
+
drivingTrainings;
|
|
24
|
+
courseTrainings;
|
|
25
|
+
constructor(props) {
|
|
26
|
+
Object.assign(this, props);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.Student = Student;
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Student.prototype, "name", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Student.prototype, "avatarUrl", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
41
|
+
__metadata("design:type", user_1.User)
|
|
42
|
+
], Student.prototype, "user", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_transformer_1.Type)(() => company_1.Company),
|
|
46
|
+
__metadata("design:type", company_1.Company)
|
|
47
|
+
], Student.prototype, "company", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_transformer_1.Type)(() => training_model_2.StudentDrivingTraining),
|
|
51
|
+
__metadata("design:type", Array)
|
|
52
|
+
], Student.prototype, "drivingTrainings", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_transformer_1.Type)(() => training_model_1.StudentCourseTraining),
|
|
56
|
+
__metadata("design:type", Array)
|
|
57
|
+
], Student.prototype, "courseTrainings", void 0);
|
|
58
|
+
//# sourceMappingURL=student.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"student.model.js","sourceRoot":"","sources":["../../src/student/student.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,wCAAqC;AACrC,kCAA+B;AAC/B,4DAAgE;AAChE,6DAAkE;AAElE,MAAa,OAAO;IAGnB,IAAI,CAAS;IAGb,SAAS,CAAS;IAMlB,IAAI,CAAO;IAIX,OAAO,CAAU;IAIjB,gBAAgB,CAA2B;IAI3C,eAAe,CAA0B;IAIzC,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/BD,0BA+BC;AA5BA;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;0CACS;AAMlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACX,WAAI;qCAAC;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;8BACX,iBAAO;wCAAC;AAIjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uCAAsB,CAAC;;iDACQ;AAI3C;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAqB,CAAC;;gDACO"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Language } from "../enums";
|
|
2
|
+
import { Currency } from "./finances/currency.model";
|
|
3
|
+
import { User } from "../user";
|
|
4
|
+
import { Company } from "../company";
|
|
5
|
+
export declare class Country {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
localName: string;
|
|
9
|
+
abbr: string;
|
|
10
|
+
languages: Language[];
|
|
11
|
+
phoneCode: string;
|
|
12
|
+
vat: number;
|
|
13
|
+
active: boolean;
|
|
14
|
+
currency: Currency;
|
|
15
|
+
users: User[];
|
|
16
|
+
companies: Company[];
|
|
17
|
+
constructor(props?: Partial<Country>);
|
|
18
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Country = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const currency_model_1 = require("./finances/currency.model");
|
|
15
|
+
const user_1 = require("../user");
|
|
16
|
+
const company_1 = require("../company");
|
|
17
|
+
class Country {
|
|
18
|
+
id;
|
|
19
|
+
name;
|
|
20
|
+
localName;
|
|
21
|
+
abbr;
|
|
22
|
+
languages;
|
|
23
|
+
phoneCode;
|
|
24
|
+
vat;
|
|
25
|
+
active;
|
|
26
|
+
currency;
|
|
27
|
+
users;
|
|
28
|
+
companies;
|
|
29
|
+
constructor(props) {
|
|
30
|
+
Object.assign(this, props);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.Country = Country;
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], Country.prototype, "id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_transformer_1.Expose)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], Country.prototype, "name", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], Country.prototype, "localName", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_transformer_1.Expose)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], Country.prototype, "abbr", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_transformer_1.Expose)(),
|
|
53
|
+
__metadata("design:type", Array)
|
|
54
|
+
], Country.prototype, "languages", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_transformer_1.Expose)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], Country.prototype, "phoneCode", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], Country.prototype, "vat", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_transformer_1.Expose)({ groups: ['console'] }),
|
|
66
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], Country.prototype, "active", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, class_transformer_1.Expose)(),
|
|
71
|
+
(0, class_transformer_1.Type)(() => currency_model_1.Currency),
|
|
72
|
+
__metadata("design:type", currency_model_1.Currency)
|
|
73
|
+
], Country.prototype, "currency", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_transformer_1.Expose)({ groups: ['console'] }),
|
|
76
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], Country.prototype, "users", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_transformer_1.Expose)(),
|
|
81
|
+
(0, class_transformer_1.Type)(() => company_1.Company),
|
|
82
|
+
__metadata("design:type", Array)
|
|
83
|
+
], Country.prototype, "companies", void 0);
|
|
84
|
+
//# sourceMappingURL=country.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"country.model.js","sourceRoot":"","sources":["../../src/system/country.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAEjD,8DAAqD;AACrD,kCAA+B;AAC/B,wCAAqC;AAErC,MAAa,OAAO;IAInB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,SAAS,CAAS;IAGlB,IAAI,CAAS;IAKb,SAAS,CAAa;IAKtB,SAAS,CAAS;IAMlB,GAAG,CAAS;IAMZ,MAAM,CAAU;IAMhB,QAAQ,CAAW;IAInB,KAAK,CAAS;IAId,SAAS,CAAY;IAIrB,YAAY,KAAwB;QACnC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAxDD,0BAwDC;AApDA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;mCACR;AAGX;IADC,IAAA,0BAAM,GAAE;;qCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;0CACS;AAGlB;IADC,IAAA,0BAAM,GAAE;;qCACI;AAKb;IADC,IAAA,0BAAM,GAAE;;0CACa;AAKtB;IADC,IAAA,0BAAM,GAAE;;0CACS;AAMlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACP;AAMZ;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;IAC/B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;uCACJ;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yBAAQ,CAAC;8BACX,yBAAQ;yCAAC;AAInB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;IAC/B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;sCACH;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAO,CAAC;;0CACC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SystemDrivingCategoryTranslation } from "./category.trans.model";
|
|
2
|
+
import { SystemDrivingTopic } from "./topic.model";
|
|
3
|
+
export declare class SystemDrivingCategory {
|
|
4
|
+
id: number;
|
|
5
|
+
countryId: number;
|
|
6
|
+
minAge: number;
|
|
7
|
+
name: string;
|
|
8
|
+
groupName: string;
|
|
9
|
+
active: boolean;
|
|
10
|
+
imageUrl: string;
|
|
11
|
+
translations: SystemDrivingCategoryTranslation[];
|
|
12
|
+
topics: SystemDrivingTopic[];
|
|
13
|
+
constructor(props?: Partial<SystemDrivingCategory>);
|
|
14
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SystemDrivingCategory = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const category_trans_model_1 = require("./category.trans.model");
|
|
15
|
+
const topic_model_1 = require("./topic.model");
|
|
16
|
+
class SystemDrivingCategory {
|
|
17
|
+
id;
|
|
18
|
+
countryId;
|
|
19
|
+
minAge;
|
|
20
|
+
name;
|
|
21
|
+
groupName;
|
|
22
|
+
active;
|
|
23
|
+
imageUrl;
|
|
24
|
+
translations;
|
|
25
|
+
topics;
|
|
26
|
+
constructor(props) {
|
|
27
|
+
Object.assign(this, props);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.SystemDrivingCategory = SystemDrivingCategory;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_transformer_1.Expose)(),
|
|
33
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], SystemDrivingCategory.prototype, "id", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_transformer_1.Expose)(),
|
|
38
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], SystemDrivingCategory.prototype, "countryId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_transformer_1.Expose)(),
|
|
43
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], SystemDrivingCategory.prototype, "minAge", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_transformer_1.Expose)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], SystemDrivingCategory.prototype, "name", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_transformer_1.Expose)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], SystemDrivingCategory.prototype, "groupName", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_transformer_1.Expose)(),
|
|
56
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
|
57
|
+
__metadata("design:type", Boolean)
|
|
58
|
+
], SystemDrivingCategory.prototype, "active", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_transformer_1.Expose)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], SystemDrivingCategory.prototype, "imageUrl", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
(0, class_transformer_1.Type)(() => category_trans_model_1.SystemDrivingCategoryTranslation),
|
|
66
|
+
__metadata("design:type", Array)
|
|
67
|
+
], SystemDrivingCategory.prototype, "translations", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
(0, class_transformer_1.Type)(() => topic_model_1.SystemDrivingTopic),
|
|
71
|
+
__metadata("design:type", Array)
|
|
72
|
+
], SystemDrivingCategory.prototype, "topics", void 0);
|
|
73
|
+
//# sourceMappingURL=category.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../../src/system/driving/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,iEAA0E;AAC1E,+CAAmD;AAEnD,MAAa,qBAAqB;IAIjC,EAAE,CAAS;IAIX,SAAS,CAAS;IAIlB,MAAM,CAAS;IAKf,IAAI,CAAS;IAGb,SAAS,CAAS;IASlB,MAAM,CAAU;IAKhB,QAAQ,CAAS;IAMjB,YAAY,CAAqC;IAIjD,MAAM,CAAuB;IAI7B,YAAY,KAAsC;QACjD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnDD,sDAmDC;AA/CA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iDACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wDACD;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qDACJ;AAKf;IADC,IAAA,0BAAM,GAAE;;mDACI;AAGb;IADC,IAAA,0BAAM,GAAE;;wDACS;AASlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;qDACJ;AAKhB;IADC,IAAA,0BAAM,GAAE;;uDACQ;AAMjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,uDAAgC,CAAC;;2DACI;AAIjD;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gCAAkB,CAAC;;qDACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.SystemDrivingCategoryTranslation = void 0;
|
|
13
|
+
const enums_1 = require("../../enums");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
class SystemDrivingCategoryTranslation {
|
|
16
|
+
id;
|
|
17
|
+
language;
|
|
18
|
+
title;
|
|
19
|
+
description;
|
|
20
|
+
constructor(props) {
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.SystemDrivingCategoryTranslation = SystemDrivingCategoryTranslation;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_transformer_1.Expose)(),
|
|
27
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], SystemDrivingCategoryTranslation.prototype, "id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_transformer_1.Expose)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SystemDrivingCategoryTranslation.prototype, "language", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_transformer_1.Expose)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SystemDrivingCategoryTranslation.prototype, "title", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], SystemDrivingCategoryTranslation.prototype, "description", void 0);
|
|
42
|
+
//# sourceMappingURL=category.trans.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.trans.model.js","sourceRoot":"","sources":["../../../src/system/driving/category.trans.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAuC;AACvC,yDAAiD;AAEjD,MAAa,gCAAgC;IAI5C,EAAE,CAAS;IAGX,QAAQ,CAAW;IAGnB,KAAK,CAAS;IAGd,WAAW,CAAS;IAIpB,YAAY,KAAiD;QAC5D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApBD,4EAoBC;AAhBA;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4DACR;AAGX;IADC,IAAA,0BAAM,GAAE;;kEACU;AAGnB;IADC,IAAA,0BAAM,GAAE;;+DACK;AAGd;IADC,IAAA,0BAAM,GAAE;;qEACW"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SystemDrivingSkillTranslation } from "./skill.trans.model";
|
|
2
|
+
export declare class SystemDrivingSkill {
|
|
3
|
+
id: number;
|
|
4
|
+
topicId: number;
|
|
5
|
+
countryId: number;
|
|
6
|
+
name: string;
|
|
7
|
+
sort: number;
|
|
8
|
+
imageUrl: string;
|
|
9
|
+
translations: SystemDrivingSkillTranslation[];
|
|
10
|
+
constructor(props?: Partial<SystemDrivingSkill>);
|
|
11
|
+
}
|