test-entity-library-asm 2.6.12 → 2.6.13
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/entities/DiscountCodeCompany.d.ts +1 -0
- package/dist/entities/DiscountCodeCompany.js +8 -0
- package/dist/entities/DiscountCodeUser.d.ts +1 -0
- package/dist/entities/DiscountCodeUser.js +8 -0
- package/package.json +1 -1
- package/src/entities/DiscountCodeCompany.ts +8 -0
- package/src/entities/DiscountCodeUser.ts +8 -0
|
@@ -71,6 +71,14 @@ var DiscountCodeCompany = /** @class */ (function () {
|
|
|
71
71
|
}),
|
|
72
72
|
__metadata("design:type", String)
|
|
73
73
|
], DiscountCodeCompany.prototype, "expiration", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({
|
|
76
|
+
length: 300,
|
|
77
|
+
nullable: true,
|
|
78
|
+
comment: 'Columna para agregar en un arreglo los días que se pueden repetir el descuento.',
|
|
79
|
+
}),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], DiscountCodeCompany.prototype, "repeat_days", void 0);
|
|
74
82
|
__decorate([
|
|
75
83
|
(0, typeorm_1.Column)({ type: 'datetime', comment: 'Fecha de expiración del registro.' }),
|
|
76
84
|
__metadata("design:type", Date)
|
|
@@ -91,6 +91,14 @@ var DiscountCodeUser = /** @class */ (function () {
|
|
|
91
91
|
}),
|
|
92
92
|
__metadata("design:type", String)
|
|
93
93
|
], DiscountCodeUser.prototype, "expiration", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)({
|
|
96
|
+
length: 300,
|
|
97
|
+
nullable: true,
|
|
98
|
+
comment: 'Columna para agregar en un arreglo los días que se pueden repetir el descuento.',
|
|
99
|
+
}),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], DiscountCodeUser.prototype, "repeat_days", void 0);
|
|
94
102
|
__decorate([
|
|
95
103
|
(0, typeorm_1.ManyToOne)(function () { return Partner_1.Partner; }, function (partner) { return partner.discount_code_partners; }, {
|
|
96
104
|
onDelete: 'CASCADE',
|
package/package.json
CHANGED
|
@@ -63,6 +63,14 @@ export class DiscountCodeCompany {
|
|
|
63
63
|
})
|
|
64
64
|
expiration: string
|
|
65
65
|
|
|
66
|
+
@Column({
|
|
67
|
+
length: 300,
|
|
68
|
+
nullable: true,
|
|
69
|
+
comment:
|
|
70
|
+
'Columna para agregar en un arreglo los días que se pueden repetir el descuento.',
|
|
71
|
+
})
|
|
72
|
+
repeat_days: string
|
|
73
|
+
|
|
66
74
|
@Column({ type: 'datetime', comment: 'Fecha de expiración del registro.' })
|
|
67
75
|
updated: Date
|
|
68
76
|
|
|
@@ -80,6 +80,14 @@ export class DiscountCodeUser {
|
|
|
80
80
|
})
|
|
81
81
|
expiration: string
|
|
82
82
|
|
|
83
|
+
@Column({
|
|
84
|
+
length: 300,
|
|
85
|
+
nullable: true,
|
|
86
|
+
comment:
|
|
87
|
+
'Columna para agregar en un arreglo los días que se pueden repetir el descuento.',
|
|
88
|
+
})
|
|
89
|
+
repeat_days: string
|
|
90
|
+
|
|
83
91
|
@ManyToOne(() => Partner, (partner) => partner.discount_code_partners, {
|
|
84
92
|
onDelete: 'CASCADE',
|
|
85
93
|
onUpdate: 'NO ACTION',
|