test-entity-library-asm 2.4.1 → 2.4.2
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.
|
@@ -72,8 +72,12 @@ var DiscountCodeUser = /** @class */ (function () {
|
|
|
72
72
|
__metadata("design:type", Date)
|
|
73
73
|
], DiscountCodeUser.prototype, "created", void 0);
|
|
74
74
|
__decorate([
|
|
75
|
-
(0, typeorm_1.Column)({
|
|
76
|
-
|
|
75
|
+
(0, typeorm_1.Column)({
|
|
76
|
+
type: 'date',
|
|
77
|
+
transformer: new dateTransformer_1.DateTransformer(),
|
|
78
|
+
comment: 'Fecha de expiración del registro.',
|
|
79
|
+
}),
|
|
80
|
+
__metadata("design:type", Date)
|
|
77
81
|
], DiscountCodeUser.prototype, "expiration", void 0);
|
|
78
82
|
__decorate([
|
|
79
83
|
(0, typeorm_1.ManyToOne)(function () { return Partner_1.Partner; }, function (partner) { return partner.discount_code_partners; }, {
|
package/package.json
CHANGED
|
@@ -62,8 +62,12 @@ export class DiscountCodeUser {
|
|
|
62
62
|
})
|
|
63
63
|
created: Date
|
|
64
64
|
|
|
65
|
-
@Column({
|
|
66
|
-
|
|
65
|
+
@Column({
|
|
66
|
+
type: 'date',
|
|
67
|
+
transformer: new DateTransformer(),
|
|
68
|
+
comment: 'Fecha de expiración del registro.',
|
|
69
|
+
})
|
|
70
|
+
expiration: Date
|
|
67
71
|
|
|
68
72
|
@ManyToOne(() => Partner, (partner) => partner.discount_code_partners, {
|
|
69
73
|
onDelete: 'CASCADE',
|