test-entity-library-asm 3.4.8 → 3.4.9

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.
@@ -14,6 +14,7 @@ export declare class LocalTable {
14
14
  created: Date;
15
15
  updated: Date | null;
16
16
  updated_by: Partner | null;
17
+ availability: number;
17
18
  status: number;
18
19
  request_locals: RequestLocal[];
19
20
  local_table_reserves: LocalTableReserve[];
@@ -130,6 +130,15 @@ var LocalTable = /** @class */ (function () {
130
130
  (0, typeorm_1.JoinColumn)({ name: "updated_by" }),
131
131
  __metadata("design:type", Object)
132
132
  ], LocalTable.prototype, "updated_by", void 0);
133
+ __decorate([
134
+ (0, typeorm_1.Column)({
135
+ default: 1,
136
+ type: "int",
137
+ width: 1,
138
+ comment: "Columna para saber sí la mesa está:\r\n1: Disponible.\r\n2: No disponible.",
139
+ }),
140
+ __metadata("design:type", Number)
141
+ ], LocalTable.prototype, "availability", void 0);
133
142
  __decorate([
134
143
  (0, typeorm_1.Column)({
135
144
  default: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "3.4.8",
3
+ "version": "3.4.9",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -127,6 +127,15 @@ export class LocalTable {
127
127
  @JoinColumn({ name: "updated_by" })
128
128
  updated_by: Partner | null;
129
129
 
130
+ @Column({
131
+ default: 1,
132
+ type: "int",
133
+ width: 1,
134
+ comment:
135
+ "Columna para saber sí la mesa está:\r\n1: Disponible.\r\n2: No disponible.",
136
+ })
137
+ availability: number;
138
+
130
139
  @Column({
131
140
  default: 1,
132
141
  type: "int",