test-entity-library-asm 3.4.3 → 3.4.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.
|
@@ -58,22 +58,27 @@ var LocalTable = /** @class */ (function () {
|
|
|
58
58
|
], LocalTable.prototype, "capacity", void 0);
|
|
59
59
|
__decorate([
|
|
60
60
|
(0, typeorm_1.Column)({
|
|
61
|
-
type: "
|
|
62
|
-
|
|
63
|
-
default: null,
|
|
64
|
-
comment: "Coordenada X de ubicación dentro del plano del local.",
|
|
61
|
+
type: "int",
|
|
62
|
+
comment: "Fila donde se encuentra la mesa. ",
|
|
65
63
|
}),
|
|
66
64
|
__metadata("design:type", Number)
|
|
67
|
-
], LocalTable.prototype, "
|
|
65
|
+
], LocalTable.prototype, "row", void 0);
|
|
68
66
|
__decorate([
|
|
69
67
|
(0, typeorm_1.Column)({
|
|
70
|
-
type: "
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
type: "int",
|
|
69
|
+
comment: "Columna donde se encuentra la mesa.",
|
|
70
|
+
}),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], LocalTable.prototype, "column", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({
|
|
75
|
+
type: "int",
|
|
76
|
+
default: 1,
|
|
77
|
+
width: 1,
|
|
78
|
+
comment: "Columna para saber qué tipo de mesa es:\r\n1: Cuadrada.\r\n2: Redonda.",
|
|
74
79
|
}),
|
|
75
80
|
__metadata("design:type", Number)
|
|
76
|
-
], LocalTable.prototype, "
|
|
81
|
+
], LocalTable.prototype, "type", void 0);
|
|
77
82
|
__decorate([
|
|
78
83
|
(0, typeorm_1.ManyToOne)(function () { return __1.LocalTableZone; }, function (localTableZone) { return localTableZone.local_tables; }, {
|
|
79
84
|
onDelete: "CASCADE",
|
package/package.json
CHANGED
|
@@ -50,20 +50,25 @@ export class LocalTable {
|
|
|
50
50
|
capacity: number;
|
|
51
51
|
|
|
52
52
|
@Column({
|
|
53
|
-
type: "
|
|
54
|
-
|
|
55
|
-
default: null,
|
|
56
|
-
comment: "Coordenada X de ubicación dentro del plano del local.",
|
|
53
|
+
type: "int",
|
|
54
|
+
comment: "Fila donde se encuentra la mesa. ",
|
|
57
55
|
})
|
|
58
|
-
|
|
56
|
+
row: number;
|
|
59
57
|
|
|
60
58
|
@Column({
|
|
61
|
-
type: "
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
type: "int",
|
|
60
|
+
comment: "Columna donde se encuentra la mesa.",
|
|
61
|
+
})
|
|
62
|
+
column: number;
|
|
63
|
+
|
|
64
|
+
@Column({
|
|
65
|
+
type: "int",
|
|
66
|
+
default: 1,
|
|
67
|
+
width: 1,
|
|
68
|
+
comment:
|
|
69
|
+
"Columna para saber qué tipo de mesa es:\r\n1: Cuadrada.\r\n2: Redonda.",
|
|
65
70
|
})
|
|
66
|
-
|
|
71
|
+
type: number;
|
|
67
72
|
|
|
68
73
|
@ManyToOne(
|
|
69
74
|
() => LocalTableZone,
|