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.
@@ -10,6 +10,7 @@ export declare class DiscountCodeCompany {
10
10
  created: Date;
11
11
  start: string;
12
12
  expiration: string;
13
+ repeat_days: string;
13
14
  updated: Date;
14
15
  status: number;
15
16
  updated_by: Master;
@@ -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)
@@ -14,6 +14,7 @@ export declare class DiscountCodeUser {
14
14
  created: Date;
15
15
  start: string;
16
16
  expiration: string;
17
+ repeat_days: string;
17
18
  updated_by: Partner;
18
19
  updated: Date;
19
20
  status: number;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "2.6.12",
3
+ "version": "2.6.13",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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',