test-entity-library-asm 3.9.52 → 3.9.54

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.
@@ -27,6 +27,7 @@ export declare class Local {
27
27
  pos_system_settings: any | null;
28
28
  status: number;
29
29
  visible: number;
30
+ operation_status: number;
30
31
  contact_details: any | null;
31
32
  locals_partners: Partner[];
32
33
  requests_local: RequestLocal[];
@@ -157,6 +157,15 @@ __decorate([
157
157
  }),
158
158
  __metadata("design:type", Number)
159
159
  ], Local.prototype, "visible", void 0);
160
+ __decorate([
161
+ (0, typeorm_1.Column)({
162
+ default: 0,
163
+ type: "int",
164
+ width: 1,
165
+ comment: "Estado de operación en el que se encuentra el restaurante/local:\n0: Cerrado: Cuando el local no se encuentra operando.\n1: Abierto: Cuando el local se encuentra operando.\n2: Pausado: Cuando el local se ha pausado, es decir, un empleado pausó las operaciones temporalmente.\n3: En mantenimiento: Cuando el local se encuentra en mantenimiento y no está en operación.",
166
+ }),
167
+ __metadata("design:type", Number)
168
+ ], Local.prototype, "operation_status", void 0);
160
169
  __decorate([
161
170
  (0, typeorm_1.Column)({
162
171
  type: "text",
@@ -18,6 +18,7 @@ export declare class LocalsCompanyInformationForTheTable {
18
18
  status: number;
19
19
  visible: number;
20
20
  contact_details: any | null;
21
+ operation_status: number;
21
22
  local_change_id: number;
22
23
  local_change_operation_type: number;
23
24
  local_change_comments: string | null;
@@ -102,6 +102,10 @@ __decorate([
102
102
  (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
103
103
  __metadata("design:type", Object)
104
104
  ], LocalsCompanyInformationForTheTable.prototype, "contact_details", void 0);
105
+ __decorate([
106
+ (0, typeorm_1.ViewColumn)(),
107
+ __metadata("design:type", Number)
108
+ ], LocalsCompanyInformationForTheTable.prototype, "operation_status", void 0);
105
109
  __decorate([
106
110
  (0, typeorm_1.ViewColumn)(),
107
111
  __metadata("design:type", Number)
@@ -131,7 +135,7 @@ __decorate([
131
135
  __metadata("design:type", Object)
132
136
  ], LocalsCompanyInformationForTheTable.prototype, "local_change_assigned_to", void 0);
133
137
  __decorate([
134
- (0, typeorm_1.ViewColumn)({ transformer: jsonTransformer }),
138
+ (0, typeorm_1.ViewColumn)(),
135
139
  __metadata("design:type", Object)
136
140
  ], LocalsCompanyInformationForTheTable.prototype, "local_change_changes", void 0);
137
141
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "3.9.52",
3
+ "version": "3.9.54",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -154,6 +154,15 @@ export class Local {
154
154
  })
155
155
  visible: number;
156
156
 
157
+ @Column({
158
+ default: 0,
159
+ type: "int",
160
+ width: 1,
161
+ comment:
162
+ "Estado de operación en el que se encuentra el restaurante/local:\n0: Cerrado: Cuando el local no se encuentra operando.\n1: Abierto: Cuando el local se encuentra operando.\n2: Pausado: Cuando el local se ha pausado, es decir, un empleado pausó las operaciones temporalmente.\n3: En mantenimiento: Cuando el local se encuentra en mantenimiento y no está en operación.",
163
+ })
164
+ operation_status: number;
165
+
157
166
  // !: ¿Esta columna debería venir?
158
167
  @Column({
159
168
  type: "text",
@@ -73,6 +73,9 @@ export class LocalsCompanyInformationForTheTable {
73
73
  @ViewColumn({ transformer: jsonTransformer })
74
74
  contact_details: any | null;
75
75
 
76
+ @ViewColumn()
77
+ operation_status: number;
78
+
76
79
  @ViewColumn()
77
80
  local_change_id: number;
78
81
 
@@ -94,7 +97,7 @@ export class LocalsCompanyInformationForTheTable {
94
97
  @ViewColumn()
95
98
  local_change_assigned_to: number | null;
96
99
 
97
- @ViewColumn({ transformer: jsonTransformer })
100
+ @ViewColumn()
98
101
  local_change_changes: any;
99
102
 
100
103
  @ViewColumn()