@tomei/rental 0.16.3 → 0.16.4

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.
Files changed (70) hide show
  1. package/.commitlintrc.json +22 -22
  2. package/.gitlab-ci.yml +16 -16
  3. package/.husky/commit-msg +15 -15
  4. package/.husky/pre-commit +7 -7
  5. package/.prettierrc +4 -4
  6. package/Jenkinsfile +51 -51
  7. package/README.md +8 -8
  8. package/dist/src/components/agreement/agreement.js +7 -7
  9. package/dist/src/components/rental/rental.d.ts +3 -3
  10. package/dist/src/components/rental/rental.js +20 -18
  11. package/dist/src/components/rental/rental.js.map +1 -1
  12. package/dist/src/enum/rental-status.enum.d.ts +1 -2
  13. package/dist/src/enum/rental-status.enum.js +0 -1
  14. package/dist/src/enum/rental-status.enum.js.map +1 -1
  15. package/dist/src/interfaces/rental-attr.interface.d.ts +1 -1
  16. package/dist/tsconfig.tsbuildinfo +1 -1
  17. package/eslint.config.mjs +58 -58
  18. package/jest.config.js +10 -10
  19. package/migrations/booking-table-migration.js +79 -79
  20. package/migrations/hirer-signature-table-migration.js +64 -64
  21. package/migrations/joint-hirer-table-migration.js +52 -52
  22. package/migrations/rental-aggreement-history-migration.js +41 -41
  23. package/migrations/rental-aggrement-table-migration.js +30 -30
  24. package/migrations/rental-price-table-migration.js +32 -32
  25. package/migrations/rental-table-migrations.js +96 -96
  26. package/package.json +75 -75
  27. package/sonar-project.properties +12 -12
  28. package/src/components/agreement/agreement.repository.ts +54 -54
  29. package/src/components/agreement/agreement.ts +180 -180
  30. package/src/components/agreement-history/agreement-history.repository.ts +54 -54
  31. package/src/components/agreement-history/agreement-history.ts +57 -57
  32. package/src/components/booking/booking.repository.ts +51 -51
  33. package/src/components/booking/booking.ts +492 -492
  34. package/src/components/hirer-signature/hirer-signature.repository.ts +54 -54
  35. package/src/components/hirer-signature/hirer-signature.ts +140 -140
  36. package/src/components/joint-hirer/joint-hirer.repository.ts +54 -54
  37. package/src/components/joint-hirer/joint-hirer.ts +137 -137
  38. package/src/components/rental/rental.repository.ts +51 -51
  39. package/src/components/rental/rental.ts +1119 -1116
  40. package/src/components/rental-price/rental-price.repository.ts +54 -54
  41. package/src/components/rental-price/rental-price.ts +100 -100
  42. package/src/database.ts +31 -31
  43. package/src/enum/account-type.enum.ts +4 -4
  44. package/src/enum/booking.enum.ts +5 -5
  45. package/src/enum/hirer-signature-status.enum.ts +4 -4
  46. package/src/enum/hirer-type.enum.ts +4 -4
  47. package/src/enum/index.ts +15 -15
  48. package/src/enum/rental-status.enum.ts +34 -39
  49. package/src/index.ts +36 -36
  50. package/src/interfaces/agreement-attr.interface.ts +7 -7
  51. package/src/interfaces/agreement-history-attr.interface.ts +7 -7
  52. package/src/interfaces/booking-attr.interface.ts +19 -19
  53. package/src/interfaces/booking-find-all-search-attr.interface.ts +12 -12
  54. package/src/interfaces/hirer-signature-attr.interface.ts +15 -15
  55. package/src/interfaces/index.ts +19 -19
  56. package/src/interfaces/joint-hirer-attr.interface.ts +10 -10
  57. package/src/interfaces/rental-attr.interface.ts +25 -25
  58. package/src/interfaces/rental-find-all-search-attr.interface.ts +11 -11
  59. package/src/interfaces/rental-price-attr.interface.ts +7 -7
  60. package/src/interfaces/response-hirer-signature-attr.interface.ts +15 -15
  61. package/src/models/agreement-history.entity.ts +51 -51
  62. package/src/models/agreement.entity.ts +47 -47
  63. package/src/models/booking.entity.ts +105 -105
  64. package/src/models/hirer-signature.entity.ts +81 -81
  65. package/src/models/index.ts +17 -17
  66. package/src/models/joint-hirer.entity.ts +63 -63
  67. package/src/models/rental-price.entity.ts +38 -38
  68. package/src/models/rental.entity.ts +133 -133
  69. package/tsconfig.build.json +5 -5
  70. package/tsconfig.json +24 -24
@@ -1,12 +1,12 @@
1
- export interface IBookingFindAllSearchAttr {
2
- BookingNo?: string;
3
- CustomerId?: string;
4
- CustomerType?: string;
5
- ItemId?: string;
6
- ItemType?: string;
7
- PriceId?: string;
8
- ScheduledStartDateTime?: Date;
9
- ScheduledEndDateTime?: Date;
10
- BookingFee?: number;
11
- Status?: string;
12
- }
1
+ export interface IBookingFindAllSearchAttr {
2
+ BookingNo?: string;
3
+ CustomerId?: string;
4
+ CustomerType?: string;
5
+ ItemId?: string;
6
+ ItemType?: string;
7
+ PriceId?: string;
8
+ ScheduledStartDateTime?: Date;
9
+ ScheduledEndDateTime?: Date;
10
+ BookingFee?: number;
11
+ Status?: string;
12
+ }
@@ -1,15 +1,15 @@
1
- import { HirerSignatureStatusEnum } from '../enum/hirer-signature-status.enum';
2
-
3
- export interface IHirerSignatureAttr {
4
- HirerSignatureId: string;
5
- AgreementNo: string;
6
- HirerType: string;
7
- CustomerId: string;
8
- CustomerType: string;
9
- SignatureStatus: HirerSignatureStatusEnum;
10
- SignedAt: Date;
11
- CreatedById: string;
12
- CreatedAt: Date;
13
- UpdatedById: string;
14
- UpdatedAt: Date;
15
- }
1
+ import { HirerSignatureStatusEnum } from '../enum/hirer-signature-status.enum';
2
+
3
+ export interface IHirerSignatureAttr {
4
+ HirerSignatureId: string;
5
+ AgreementNo: string;
6
+ HirerType: string;
7
+ CustomerId: string;
8
+ CustomerType: string;
9
+ SignatureStatus: HirerSignatureStatusEnum;
10
+ SignedAt: Date;
11
+ CreatedById: string;
12
+ CreatedAt: Date;
13
+ UpdatedById: string;
14
+ UpdatedAt: Date;
15
+ }
@@ -1,19 +1,19 @@
1
- import { IRentalAttr } from './rental-attr.interface';
2
- import { IRentalPriceAttr } from './rental-price-attr.interface';
3
- import { IRentalFindAllSearchAttr } from './rental-find-all-search-attr.interface';
4
- import { IBookingAttr } from './booking-attr.interface';
5
- import { IAgreementAttr } from './agreement-attr.interface';
6
- import { IBookingFindAllSearchAttr } from './booking-find-all-search-attr.interface';
7
- import { IHirerSignatureAttr } from './hirer-signature-attr.interface';
8
- import { IResponseHirerSignature } from './response-hirer-signature-attr.interface';
9
-
10
- export {
11
- IRentalAttr,
12
- IRentalPriceAttr,
13
- IRentalFindAllSearchAttr,
14
- IBookingAttr,
15
- IAgreementAttr,
16
- IBookingFindAllSearchAttr,
17
- IHirerSignatureAttr,
18
- IResponseHirerSignature,
19
- };
1
+ import { IRentalAttr } from './rental-attr.interface';
2
+ import { IRentalPriceAttr } from './rental-price-attr.interface';
3
+ import { IRentalFindAllSearchAttr } from './rental-find-all-search-attr.interface';
4
+ import { IBookingAttr } from './booking-attr.interface';
5
+ import { IAgreementAttr } from './agreement-attr.interface';
6
+ import { IBookingFindAllSearchAttr } from './booking-find-all-search-attr.interface';
7
+ import { IHirerSignatureAttr } from './hirer-signature-attr.interface';
8
+ import { IResponseHirerSignature } from './response-hirer-signature-attr.interface';
9
+
10
+ export {
11
+ IRentalAttr,
12
+ IRentalPriceAttr,
13
+ IRentalFindAllSearchAttr,
14
+ IBookingAttr,
15
+ IAgreementAttr,
16
+ IBookingFindAllSearchAttr,
17
+ IHirerSignatureAttr,
18
+ IResponseHirerSignature,
19
+ };
@@ -1,10 +1,10 @@
1
- export interface IJointHirerAttr {
2
- HirerId: string;
3
- RentalId: string;
4
- CustomerId: string;
5
- CustomerType: string;
6
- CreatedById: string;
7
- CreatedAt: Date;
8
- UpdatedById: string;
9
- UpdatedAt: Date;
10
- }
1
+ export interface IJointHirerAttr {
2
+ HirerId: string;
3
+ RentalId: string;
4
+ CustomerId: string;
5
+ CustomerType: string;
6
+ CreatedById: string;
7
+ CreatedAt: Date;
8
+ UpdatedById: string;
9
+ UpdatedAt: Date;
10
+ }
@@ -1,25 +1,25 @@
1
- import { RentalStatusEnum } from '../enum/rental-status.enum';
2
- import { RentalAccountTypeEnum } from '../enum/account-type.enum';
3
- import { IJointHirerAttr } from './joint-hirer-attr.interface';
4
-
5
- export interface IRentalAttr {
6
- RentalId: string;
7
- CustomerId: string;
8
- CustomerType: string;
9
- ItemId: string;
10
- ItemType: string;
11
- PriceId: string;
12
- StartDateTime: Date;
13
- EndDateTime: Date;
14
- CancelRemarks: string;
15
- TerminateRemarks: string;
16
- AgreementNo: string;
17
- AccountType: RentalAccountTypeEnum;
18
- Status: RentalStatusEnum;
19
- EscheatmentYN: string;
20
- CreatedById: string;
21
- CreatedAt: Date;
22
- UpdatedById: string;
23
- UpdatedAt: Date;
24
- JointHirers?: IJointHirerAttr[];
25
- }
1
+ import { RentalStatusEnum } from '../enum/rental-status.enum';
2
+ import { RentalAccountTypeEnum } from '../enum/account-type.enum';
3
+ import { IJointHirerAttr } from './joint-hirer-attr.interface';
4
+
5
+ export interface IRentalAttr {
6
+ RentalId: string;
7
+ CustomerId: string;
8
+ CustomerType: string;
9
+ ItemId: string;
10
+ ItemType: string;
11
+ PriceId: string;
12
+ StartDateTime: Date;
13
+ EndDateTime: Date;
14
+ CancelRemarks: string;
15
+ TerminateRemarks: string;
16
+ AgreementNo: string;
17
+ AccountType: RentalAccountTypeEnum;
18
+ Status: RentalStatusEnum | string;
19
+ EscheatmentYN: string;
20
+ CreatedById: string;
21
+ CreatedAt: Date;
22
+ UpdatedById: string;
23
+ UpdatedAt: Date;
24
+ JointHirers?: IJointHirerAttr[];
25
+ }
@@ -1,11 +1,11 @@
1
- import { RentalStatusEnum } from '../enum/rental-status.enum';
2
-
3
- export interface IRentalFindAllSearchAttr {
4
- Status?: RentalStatusEnum;
5
- StartDateTime?: Date;
6
- EndDateTime?: Date;
7
- ItemId?: string;
8
- ItemType?: string;
9
- CustomerId?: string;
10
- CustomerType?: string;
11
- }
1
+ import { RentalStatusEnum } from '../enum/rental-status.enum';
2
+
3
+ export interface IRentalFindAllSearchAttr {
4
+ Status?: RentalStatusEnum;
5
+ StartDateTime?: Date;
6
+ EndDateTime?: Date;
7
+ ItemId?: string;
8
+ ItemType?: string;
9
+ CustomerId?: string;
10
+ CustomerType?: string;
11
+ }
@@ -1,7 +1,7 @@
1
- export interface IRentalPriceAttr {
2
- PriceId: string;
3
- RetailPrice: number;
4
- Currency: string;
5
- PromoCode: string;
6
- Remarks: string;
7
- }
1
+ export interface IRentalPriceAttr {
2
+ PriceId: string;
3
+ RetailPrice: number;
4
+ Currency: string;
5
+ PromoCode: string;
6
+ Remarks: string;
7
+ }
@@ -1,15 +1,15 @@
1
- import { HirerSignatureStatusEnum } from '../enum/hirer-signature-status.enum';
2
-
3
- export interface IResponseHirerSignature {
4
- HirerSignatureId: string;
5
- AgreementNo: string;
6
- HirerType: string;
7
- CustomerId: string;
8
- CustomerType: string;
9
- SignatureStatus: HirerSignatureStatusEnum;
10
- SignedAt: Date;
11
- CreatedById: string;
12
- CreatedAt: Date;
13
- UpdatedById: string;
14
- UpdatedAt: Date;
15
- }
1
+ import { HirerSignatureStatusEnum } from '../enum/hirer-signature-status.enum';
2
+
3
+ export interface IResponseHirerSignature {
4
+ HirerSignatureId: string;
5
+ AgreementNo: string;
6
+ HirerType: string;
7
+ CustomerId: string;
8
+ CustomerType: string;
9
+ SignatureStatus: HirerSignatureStatusEnum;
10
+ SignedAt: Date;
11
+ CreatedById: string;
12
+ CreatedAt: Date;
13
+ UpdatedById: string;
14
+ UpdatedAt: Date;
15
+ }
@@ -1,51 +1,51 @@
1
- import {
2
- Column,
3
- DataType,
4
- Table,
5
- Model,
6
- ForeignKey,
7
- BelongsTo,
8
- CreatedAt,
9
- } from 'sequelize-typescript';
10
- import { AgreementModel } from './agreement.entity';
11
-
12
- @Table({
13
- tableName: 'rental_AgreementHistory',
14
- createdAt: 'CreatedAt',
15
- updatedAt: false,
16
- timestamps: true,
17
- })
18
- export class AgreementHistoryModel extends Model {
19
- @Column({
20
- primaryKey: true,
21
- allowNull: false,
22
- autoIncrement: true,
23
- type: DataType.INTEGER,
24
- })
25
- HistoryId: number;
26
-
27
- @ForeignKey(() => AgreementModel)
28
- @Column({
29
- allowNull: false,
30
- type: DataType.STRING(30),
31
- })
32
- AgreementNo: string;
33
-
34
- @Column({
35
- allowNull: false,
36
- type: DataType.STRING(30),
37
- })
38
- MediaId: string;
39
-
40
- @Column({
41
- allowNull: false,
42
- type: DataType.STRING(200),
43
- })
44
- ActivityCompleted: string;
45
-
46
- @CreatedAt
47
- CreatedAt: Date;
48
-
49
- @BelongsTo(() => AgreementModel)
50
- Agreement: AgreementModel;
51
- }
1
+ import {
2
+ Column,
3
+ DataType,
4
+ Table,
5
+ Model,
6
+ ForeignKey,
7
+ BelongsTo,
8
+ CreatedAt,
9
+ } from 'sequelize-typescript';
10
+ import { AgreementModel } from './agreement.entity';
11
+
12
+ @Table({
13
+ tableName: 'rental_AgreementHistory',
14
+ createdAt: 'CreatedAt',
15
+ updatedAt: false,
16
+ timestamps: true,
17
+ })
18
+ export class AgreementHistoryModel extends Model {
19
+ @Column({
20
+ primaryKey: true,
21
+ allowNull: false,
22
+ autoIncrement: true,
23
+ type: DataType.INTEGER,
24
+ })
25
+ HistoryId: number;
26
+
27
+ @ForeignKey(() => AgreementModel)
28
+ @Column({
29
+ allowNull: false,
30
+ type: DataType.STRING(30),
31
+ })
32
+ AgreementNo: string;
33
+
34
+ @Column({
35
+ allowNull: false,
36
+ type: DataType.STRING(30),
37
+ })
38
+ MediaId: string;
39
+
40
+ @Column({
41
+ allowNull: false,
42
+ type: DataType.STRING(200),
43
+ })
44
+ ActivityCompleted: string;
45
+
46
+ @CreatedAt
47
+ CreatedAt: Date;
48
+
49
+ @BelongsTo(() => AgreementModel)
50
+ Agreement: AgreementModel;
51
+ }
@@ -1,47 +1,47 @@
1
- import { Column, DataType, Table, Model, HasMany } from 'sequelize-typescript';
2
- import { RentalModel } from './rental.entity';
3
- import { AggrementStatusEnum } from '../enum/aggrement-status.enum';
4
- import { HirerSignatureModel } from './hirer-signature.entity';
5
- import { AgreementHistoryModel } from './agreement-history.entity';
6
-
7
- @Table({
8
- tableName: 'rental_Agreement',
9
- createdAt: false,
10
- updatedAt: false,
11
- timestamps: false,
12
- })
13
- export class AgreementModel extends Model {
14
- @Column({
15
- primaryKey: true,
16
- allowNull: false,
17
- type: DataType.STRING(30),
18
- })
19
- AgreementNo: string;
20
-
21
- @Column({
22
- allowNull: false,
23
- type: DataType.STRING(20),
24
- })
25
- Status: AggrementStatusEnum;
26
-
27
- @Column({
28
- allowNull: true,
29
- type: DataType.DATE,
30
- })
31
- DateSigned: Date;
32
-
33
- @Column({
34
- allowNull: true,
35
- type: DataType.STRING(30),
36
- })
37
- MediaId: string;
38
-
39
- @HasMany(() => RentalModel)
40
- Rentals: RentalModel[];
41
-
42
- @HasMany(() => HirerSignatureModel)
43
- HirerSignatures: HirerSignatureModel[];
44
-
45
- @HasMany(() => AgreementHistoryModel)
46
- History: AgreementHistoryModel[];
47
- }
1
+ import { Column, DataType, Table, Model, HasMany } from 'sequelize-typescript';
2
+ import { RentalModel } from './rental.entity';
3
+ import { AggrementStatusEnum } from '../enum/aggrement-status.enum';
4
+ import { HirerSignatureModel } from './hirer-signature.entity';
5
+ import { AgreementHistoryModel } from './agreement-history.entity';
6
+
7
+ @Table({
8
+ tableName: 'rental_Agreement',
9
+ createdAt: false,
10
+ updatedAt: false,
11
+ timestamps: false,
12
+ })
13
+ export class AgreementModel extends Model {
14
+ @Column({
15
+ primaryKey: true,
16
+ allowNull: false,
17
+ type: DataType.STRING(30),
18
+ })
19
+ AgreementNo: string;
20
+
21
+ @Column({
22
+ allowNull: false,
23
+ type: DataType.STRING(20),
24
+ })
25
+ Status: AggrementStatusEnum;
26
+
27
+ @Column({
28
+ allowNull: true,
29
+ type: DataType.DATE,
30
+ })
31
+ DateSigned: Date;
32
+
33
+ @Column({
34
+ allowNull: true,
35
+ type: DataType.STRING(30),
36
+ })
37
+ MediaId: string;
38
+
39
+ @HasMany(() => RentalModel)
40
+ Rentals: RentalModel[];
41
+
42
+ @HasMany(() => HirerSignatureModel)
43
+ HirerSignatures: HirerSignatureModel[];
44
+
45
+ @HasMany(() => AgreementHistoryModel)
46
+ History: AgreementHistoryModel[];
47
+ }
@@ -1,105 +1,105 @@
1
- import {
2
- Column,
3
- DataType,
4
- Table,
5
- Model,
6
- ForeignKey,
7
- BelongsTo,
8
- CreatedAt,
9
- UpdatedAt,
10
- } from 'sequelize-typescript';
11
- import { RentalPriceModel } from './rental-price.entity';
12
- import { BookingStatusEnum } from '../enum/booking.enum';
13
-
14
- @Table({
15
- tableName: 'booking_Booking',
16
- })
17
- export class BookingModel extends Model {
18
- @Column({
19
- primaryKey: true,
20
- allowNull: false,
21
- type: DataType.STRING(30),
22
- })
23
- BookingNo: string;
24
-
25
- @Column({
26
- allowNull: false,
27
- type: DataType.STRING(30),
28
- })
29
- CustomerId: string;
30
-
31
- @Column({
32
- allowNull: false,
33
- type: DataType.STRING(30),
34
- })
35
- CustomerType: string;
36
-
37
- @Column({
38
- allowNull: false,
39
- type: DataType.STRING(30),
40
- })
41
- ItemId: string;
42
-
43
- @Column({
44
- allowNull: false,
45
- type: DataType.STRING(30),
46
- })
47
- ItemType: string;
48
-
49
- @ForeignKey(() => RentalPriceModel)
50
- @Column({
51
- allowNull: false,
52
- type: DataType.STRING(30),
53
- })
54
- PriceId: string;
55
-
56
- @Column({
57
- allowNull: false,
58
- type: DataType.DATE,
59
- })
60
- ScheduledStartDateTime: Date;
61
-
62
- @Column({
63
- allowNull: false,
64
- type: DataType.DATE,
65
- })
66
- ScheduledEndDateTime: Date;
67
-
68
- @Column({
69
- allowNull: true,
70
- type: DataType.DECIMAL(10, 2),
71
- })
72
- BookingFee: number;
73
-
74
- @Column({
75
- allowNull: false,
76
- type: DataType.STRING(20),
77
- })
78
- Status: BookingStatusEnum;
79
-
80
- @Column({
81
- type: DataType.STRING(3000),
82
- })
83
- CancelRemarks: string;
84
-
85
- @Column({
86
- allowNull: false,
87
- type: DataType.STRING(30),
88
- })
89
- CreatedById: string;
90
-
91
- @CreatedAt
92
- CreatedAt: Date;
93
-
94
- @Column({
95
- allowNull: false,
96
- type: DataType.STRING(30),
97
- })
98
- UpdatedById: string;
99
-
100
- @UpdatedAt
101
- UpdatedAt: Date;
102
-
103
- @BelongsTo(() => RentalPriceModel)
104
- RentalPrice: RentalPriceModel;
105
- }
1
+ import {
2
+ Column,
3
+ DataType,
4
+ Table,
5
+ Model,
6
+ ForeignKey,
7
+ BelongsTo,
8
+ CreatedAt,
9
+ UpdatedAt,
10
+ } from 'sequelize-typescript';
11
+ import { RentalPriceModel } from './rental-price.entity';
12
+ import { BookingStatusEnum } from '../enum/booking.enum';
13
+
14
+ @Table({
15
+ tableName: 'booking_Booking',
16
+ })
17
+ export class BookingModel extends Model {
18
+ @Column({
19
+ primaryKey: true,
20
+ allowNull: false,
21
+ type: DataType.STRING(30),
22
+ })
23
+ BookingNo: string;
24
+
25
+ @Column({
26
+ allowNull: false,
27
+ type: DataType.STRING(30),
28
+ })
29
+ CustomerId: string;
30
+
31
+ @Column({
32
+ allowNull: false,
33
+ type: DataType.STRING(30),
34
+ })
35
+ CustomerType: string;
36
+
37
+ @Column({
38
+ allowNull: false,
39
+ type: DataType.STRING(30),
40
+ })
41
+ ItemId: string;
42
+
43
+ @Column({
44
+ allowNull: false,
45
+ type: DataType.STRING(30),
46
+ })
47
+ ItemType: string;
48
+
49
+ @ForeignKey(() => RentalPriceModel)
50
+ @Column({
51
+ allowNull: false,
52
+ type: DataType.STRING(30),
53
+ })
54
+ PriceId: string;
55
+
56
+ @Column({
57
+ allowNull: false,
58
+ type: DataType.DATE,
59
+ })
60
+ ScheduledStartDateTime: Date;
61
+
62
+ @Column({
63
+ allowNull: false,
64
+ type: DataType.DATE,
65
+ })
66
+ ScheduledEndDateTime: Date;
67
+
68
+ @Column({
69
+ allowNull: true,
70
+ type: DataType.DECIMAL(10, 2),
71
+ })
72
+ BookingFee: number;
73
+
74
+ @Column({
75
+ allowNull: false,
76
+ type: DataType.STRING(20),
77
+ })
78
+ Status: BookingStatusEnum;
79
+
80
+ @Column({
81
+ type: DataType.STRING(3000),
82
+ })
83
+ CancelRemarks: string;
84
+
85
+ @Column({
86
+ allowNull: false,
87
+ type: DataType.STRING(30),
88
+ })
89
+ CreatedById: string;
90
+
91
+ @CreatedAt
92
+ CreatedAt: Date;
93
+
94
+ @Column({
95
+ allowNull: false,
96
+ type: DataType.STRING(30),
97
+ })
98
+ UpdatedById: string;
99
+
100
+ @UpdatedAt
101
+ UpdatedAt: Date;
102
+
103
+ @BelongsTo(() => RentalPriceModel)
104
+ RentalPrice: RentalPriceModel;
105
+ }