test-entity-library-asm 3.3.4 → 3.3.5
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.
|
@@ -41,12 +41,24 @@ var RequestLocal = /** @class */ (function () {
|
|
|
41
41
|
], RequestLocal.prototype, "local", void 0);
|
|
42
42
|
__decorate([
|
|
43
43
|
(0, typeorm_1.Column)({
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
type: "decimal",
|
|
45
|
+
precision: 10,
|
|
46
|
+
scale: 8,
|
|
47
|
+
comment: "Costo total del pedido.",
|
|
47
48
|
}),
|
|
48
|
-
__metadata("design:type",
|
|
49
|
+
__metadata("design:type", Number)
|
|
49
50
|
], RequestLocal.prototype, "total_cost", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.Column)({
|
|
53
|
+
type: "decimal",
|
|
54
|
+
nullable: true,
|
|
55
|
+
default: null,
|
|
56
|
+
precision: 10,
|
|
57
|
+
scale: 8,
|
|
58
|
+
comment: "Columna creada para saber cuánto es la cantidad que nos falta para pagar por completo el pedido.",
|
|
59
|
+
}),
|
|
60
|
+
__metadata("design:type", Number)
|
|
61
|
+
], RequestLocal.prototype, "remaining_amount", void 0);
|
|
50
62
|
__decorate([
|
|
51
63
|
(0, typeorm_1.Column)({
|
|
52
64
|
default: 1,
|
package/package.json
CHANGED
|
@@ -35,11 +35,23 @@ export class RequestLocal {
|
|
|
35
35
|
local: Local;
|
|
36
36
|
|
|
37
37
|
@Column({
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
type: "decimal",
|
|
39
|
+
precision: 10,
|
|
40
|
+
scale: 8,
|
|
41
|
+
comment: "Costo total del pedido.",
|
|
42
|
+
})
|
|
43
|
+
total_cost: number;
|
|
44
|
+
|
|
45
|
+
@Column({
|
|
46
|
+
type: "decimal",
|
|
47
|
+
nullable: true,
|
|
48
|
+
default: null,
|
|
49
|
+
precision: 10,
|
|
50
|
+
scale: 8,
|
|
51
|
+
comment:
|
|
52
|
+
"Columna creada para saber cuánto es la cantidad que nos falta para pagar por completo el pedido.",
|
|
41
53
|
})
|
|
42
|
-
|
|
54
|
+
remaining_amount: number;
|
|
43
55
|
|
|
44
56
|
@Column({
|
|
45
57
|
default: 1,
|