test-entity-library-asm 1.2.2 → 1.2.4

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.
Files changed (93) hide show
  1. package/dist/entities/Category.d.ts +1 -2
  2. package/dist/entities/Category.js +2 -19
  3. package/dist/entities/CategorySchedule.d.ts +1 -2
  4. package/dist/entities/CategorySchedule.js +2 -19
  5. package/dist/entities/City.d.ts +1 -2
  6. package/dist/entities/City.js +2 -19
  7. package/dist/entities/CodeRedemptionHistoryCompany.d.ts +1 -2
  8. package/dist/entities/CodeRedemptionHistoryCompany.js +2 -19
  9. package/dist/entities/Company.d.ts +1 -2
  10. package/dist/entities/Company.js +2 -19
  11. package/dist/entities/Configuration.d.ts +1 -2
  12. package/dist/entities/Configuration.js +2 -19
  13. package/dist/entities/Country.d.ts +1 -2
  14. package/dist/entities/Country.js +2 -19
  15. package/dist/entities/Day.d.ts +1 -2
  16. package/dist/entities/Day.js +2 -19
  17. package/dist/entities/DiscountCodeCompany.d.ts +1 -2
  18. package/dist/entities/DiscountCodeCompany.js +2 -19
  19. package/dist/entities/Local.d.ts +1 -2
  20. package/dist/entities/Local.js +2 -19
  21. package/dist/entities/LocalQualification.d.ts +1 -2
  22. package/dist/entities/LocalQualification.js +2 -19
  23. package/dist/entities/Master.d.ts +1 -2
  24. package/dist/entities/Master.js +2 -19
  25. package/dist/entities/PaymentMethod.d.ts +1 -2
  26. package/dist/entities/PaymentMethod.js +2 -19
  27. package/dist/entities/Permission.d.ts +1 -2
  28. package/dist/entities/Permission.js +2 -19
  29. package/dist/entities/Plan.d.ts +1 -2
  30. package/dist/entities/Plan.js +2 -19
  31. package/dist/entities/Product.d.ts +1 -2
  32. package/dist/entities/Product.js +2 -19
  33. package/dist/entities/ProductIngredient.d.ts +1 -2
  34. package/dist/entities/ProductIngredient.js +2 -19
  35. package/dist/entities/ProductTopping.d.ts +1 -2
  36. package/dist/entities/ProductTopping.js +2 -19
  37. package/dist/entities/Region.d.ts +1 -2
  38. package/dist/entities/Region.js +2 -19
  39. package/dist/entities/Request.d.ts +1 -2
  40. package/dist/entities/Request.js +2 -19
  41. package/dist/entities/RequestProduct.d.ts +1 -2
  42. package/dist/entities/RequestProduct.js +2 -19
  43. package/dist/entities/RequestProductGroupComplement.d.ts +1 -2
  44. package/dist/entities/RequestProductGroupComplement.js +2 -19
  45. package/dist/entities/RequestStatus.d.ts +1 -2
  46. package/dist/entities/RequestStatus.js +2 -19
  47. package/dist/entities/RoleVisibleTo.d.ts +1 -2
  48. package/dist/entities/RoleVisibleTo.js +2 -19
  49. package/dist/entities/Square.d.ts +1 -2
  50. package/dist/entities/Square.js +2 -19
  51. package/dist/entities/TerminalSession.d.ts +1 -2
  52. package/dist/entities/TerminalSession.js +2 -19
  53. package/dist/entities/TypeFood.d.ts +1 -2
  54. package/dist/entities/TypeFood.js +2 -19
  55. package/dist/entities/TypeMeasureIngredient.d.ts +1 -2
  56. package/dist/entities/TypeMeasureIngredient.js +2 -19
  57. package/dist/entities/User.d.ts +1 -2
  58. package/dist/entities/User.js +2 -19
  59. package/dist/entities/productGroupComplement.d.ts +1 -2
  60. package/dist/entities/productGroupComplement.js +2 -19
  61. package/dist/index.js +1 -1
  62. package/package.json +1 -1
  63. package/src/entities/Category.ts +1 -1
  64. package/src/entities/CategorySchedule.ts +1 -1
  65. package/src/entities/City.ts +1 -1
  66. package/src/entities/CodeRedemptionHistoryCompany.ts +1 -1
  67. package/src/entities/Company.ts +1 -1
  68. package/src/entities/Configuration.ts +1 -1
  69. package/src/entities/Country.ts +1 -1
  70. package/src/entities/Day.ts +1 -1
  71. package/src/entities/DiscountCodeCompany.ts +1 -1
  72. package/src/entities/Local.ts +1 -1
  73. package/src/entities/LocalQualification.ts +1 -1
  74. package/src/entities/Master.ts +1 -1
  75. package/src/entities/PaymentMethod.ts +1 -1
  76. package/src/entities/Permission.ts +1 -1
  77. package/src/entities/Plan.ts +1 -1
  78. package/src/entities/Product.ts +1 -1
  79. package/src/entities/ProductIngredient.ts +1 -1
  80. package/src/entities/ProductTopping.ts +1 -1
  81. package/src/entities/Region.ts +1 -1
  82. package/src/entities/Request.ts +1 -1
  83. package/src/entities/RequestProduct.ts +7 -7
  84. package/src/entities/RequestProductGroupComplement.ts +1 -1
  85. package/src/entities/RequestStatus.ts +6 -6
  86. package/src/entities/RoleVisibleTo.ts +1 -1
  87. package/src/entities/Square.ts +1 -1
  88. package/src/entities/TerminalSession.ts +1 -1
  89. package/src/entities/TypeFood.ts +1 -1
  90. package/src/entities/TypeMeasureIngredient.ts +1 -1
  91. package/src/entities/User.ts +1 -1
  92. package/src/entities/productGroupComplement.ts +1 -1
  93. package/src/index.ts +1 -1
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -27,10 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.Permission = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Role_1 = require("./Role");
30
- var Permission = /** @class */ (function (_super) {
31
- __extends(Permission, _super);
15
+ var Permission = /** @class */ (function () {
32
16
  function Permission() {
33
- return _super !== null && _super.apply(this, arguments) || this;
34
17
  }
35
18
  __decorate([
36
19
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -76,5 +59,5 @@ var Permission = /** @class */ (function (_super) {
76
59
  })
77
60
  ], Permission);
78
61
  return Permission;
79
- }(typeorm_1.BaseEntity));
62
+ }());
80
63
  exports.Permission = Permission;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { User } from './User';
3
2
  import { Company } from './Company';
4
- export declare class Plan extends BaseEntity {
3
+ export declare class Plan {
5
4
  id: number;
6
5
  code: string;
7
6
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.Plan = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var User_1 = require("./User");
30
15
  var Company_1 = require("./Company");
31
- var Plan = /** @class */ (function (_super) {
32
- __extends(Plan, _super);
16
+ var Plan = /** @class */ (function () {
33
17
  function Plan() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -99,5 +82,5 @@ var Plan = /** @class */ (function (_super) {
99
82
  })
100
83
  ], Plan);
101
84
  return Plan;
102
- }(typeorm_1.BaseEntity));
85
+ }());
103
86
  exports.Plan = Plan;
@@ -1,10 +1,9 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Local } from './Local';
3
2
  import { ProductGroup } from './ProductGroup';
4
3
  import { Category } from './Category';
5
4
  import { ProductIngredient } from './ProductIngredient';
6
5
  import { RequestProduct } from './RequestProduct';
7
- export declare class Product extends BaseEntity {
6
+ export declare class Product {
8
7
  id: number;
9
8
  local: Local;
10
9
  category: Category;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -31,10 +16,8 @@ var ProductGroup_1 = require("./ProductGroup");
31
16
  var Category_1 = require("./Category");
32
17
  var ProductIngredient_1 = require("./ProductIngredient");
33
18
  var RequestProduct_1 = require("./RequestProduct");
34
- var Product = /** @class */ (function (_super) {
35
- __extends(Product, _super);
19
+ var Product = /** @class */ (function () {
36
20
  function Product() {
37
- return _super !== null && _super.apply(this, arguments) || this;
38
21
  }
39
22
  __decorate([
40
23
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -133,5 +116,5 @@ var Product = /** @class */ (function (_super) {
133
116
  })
134
117
  ], Product);
135
118
  return Product;
136
- }(typeorm_1.BaseEntity));
119
+ }());
137
120
  exports.Product = Product;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Product } from './Product';
3
2
  import { TypeMeasureIngredient } from './TypeMeasureIngredient';
4
- export declare class ProductIngredient extends BaseEntity {
3
+ export declare class ProductIngredient {
5
4
  id: number;
6
5
  product: Product;
7
6
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.ProductIngredient = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Product_1 = require("./Product");
30
15
  var TypeMeasureIngredient_1 = require("./TypeMeasureIngredient");
31
- var ProductIngredient = /** @class */ (function (_super) {
32
- __extends(ProductIngredient, _super);
16
+ var ProductIngredient = /** @class */ (function () {
33
17
  function ProductIngredient() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -80,5 +63,5 @@ var ProductIngredient = /** @class */ (function (_super) {
80
63
  })
81
64
  ], ProductIngredient);
82
65
  return ProductIngredient;
83
- }(typeorm_1.BaseEntity));
66
+ }());
84
67
  exports.ProductIngredient = ProductIngredient;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Company } from './Company';
3
2
  import { ProductGroup } from './ProductGroup';
4
- export declare class ProductTopping extends BaseEntity {
3
+ export declare class ProductTopping {
5
4
  id: number;
6
5
  company: Company;
7
6
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.ProductTopping = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Company_1 = require("./Company");
30
15
  var ProductGroup_1 = require("./ProductGroup");
31
- var ProductTopping = /** @class */ (function (_super) {
32
- __extends(ProductTopping, _super);
16
+ var ProductTopping = /** @class */ (function () {
33
17
  function ProductTopping() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -72,5 +55,5 @@ var ProductTopping = /** @class */ (function (_super) {
72
55
  })
73
56
  ], ProductTopping);
74
57
  return ProductTopping;
75
- }(typeorm_1.BaseEntity));
58
+ }());
76
59
  exports.ProductTopping = ProductTopping;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Country } from './Country';
3
2
  import { City } from './City';
4
- export declare class Region extends BaseEntity {
3
+ export declare class Region {
5
4
  id: number;
6
5
  country: Country;
7
6
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.Region = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Country_1 = require("./Country");
30
15
  var City_1 = require("./City");
31
- var Region = /** @class */ (function (_super) {
32
- __extends(Region, _super);
16
+ var Region = /** @class */ (function () {
33
17
  function Region() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -71,5 +54,5 @@ var Region = /** @class */ (function (_super) {
71
54
  })
72
55
  ], Region);
73
56
  return Region;
74
- }(typeorm_1.BaseEntity));
57
+ }());
75
58
  exports.Region = Region;
@@ -1,11 +1,10 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Local } from './Local';
3
2
  import { PaymentMethod } from './PaymentMethod';
4
3
  import { RequestStatus } from './RequestStatus';
5
4
  import { User } from './User';
6
5
  import { RequestProduct } from './RequestProduct';
7
6
  import { RequestProductGroupComplement } from './RequestProductGroupComplement';
8
- export declare class Request extends BaseEntity {
7
+ export declare class Request {
9
8
  id: number;
10
9
  user: User;
11
10
  local: Local;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -32,10 +17,8 @@ var RequestStatus_1 = require("./RequestStatus");
32
17
  var User_1 = require("./User");
33
18
  var RequestProduct_1 = require("./RequestProduct");
34
19
  var RequestProductGroupComplement_1 = require("./RequestProductGroupComplement");
35
- var Request = /** @class */ (function (_super) {
36
- __extends(Request, _super);
20
+ var Request = /** @class */ (function () {
37
21
  function Request() {
38
- return _super !== null && _super.apply(this, arguments) || this;
39
22
  }
40
23
  __decorate([
41
24
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -133,5 +116,5 @@ var Request = /** @class */ (function (_super) {
133
116
  })
134
117
  ], Request);
135
118
  return Request;
136
- }(typeorm_1.BaseEntity));
119
+ }());
137
120
  exports.Request = Request;
@@ -1,8 +1,7 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Product } from './Product';
3
2
  import { Request } from './Request';
4
3
  import { User } from './User';
5
- export declare class RequestProduct extends BaseEntity {
4
+ export declare class RequestProduct {
6
5
  id: number;
7
6
  request: Request;
8
7
  product: Product;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -29,10 +14,8 @@ var typeorm_1 = require("typeorm");
29
14
  var Product_1 = require("./Product");
30
15
  var Request_1 = require("./Request");
31
16
  var User_1 = require("./User");
32
- var RequestProduct = /** @class */ (function (_super) {
33
- __extends(RequestProduct, _super);
17
+ var RequestProduct = /** @class */ (function () {
34
18
  function RequestProduct() {
35
- return _super !== null && _super.apply(this, arguments) || this;
36
19
  }
37
20
  __decorate([
38
21
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -81,5 +64,5 @@ var RequestProduct = /** @class */ (function (_super) {
81
64
  })
82
65
  ], RequestProduct);
83
66
  return RequestProduct;
84
- }(typeorm_1.BaseEntity));
67
+ }());
85
68
  exports.RequestProduct = RequestProduct;
@@ -1,8 +1,7 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Request } from './Request';
3
2
  import { User } from './User';
4
3
  import { ProductGroupComplement } from './productGroupComplement';
5
- export declare class RequestProductGroupComplement extends BaseEntity {
4
+ export declare class RequestProductGroupComplement {
6
5
  id: number;
7
6
  request: Request;
8
7
  product_group_complement: ProductGroupComplement;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -29,10 +14,8 @@ var typeorm_1 = require("typeorm");
29
14
  var Request_1 = require("./Request");
30
15
  var User_1 = require("./User");
31
16
  var productGroupComplement_1 = require("./productGroupComplement");
32
- var RequestProductGroupComplement = /** @class */ (function (_super) {
33
- __extends(RequestProductGroupComplement, _super);
17
+ var RequestProductGroupComplement = /** @class */ (function () {
34
18
  function RequestProductGroupComplement() {
35
- return _super !== null && _super.apply(this, arguments) || this;
36
19
  }
37
20
  __decorate([
38
21
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -76,5 +59,5 @@ var RequestProductGroupComplement = /** @class */ (function (_super) {
76
59
  })
77
60
  ], RequestProductGroupComplement);
78
61
  return RequestProductGroupComplement;
79
- }(typeorm_1.BaseEntity));
62
+ }());
80
63
  exports.RequestProductGroupComplement = RequestProductGroupComplement;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Request } from './Request';
3
- export declare class RequestStatus extends BaseEntity {
2
+ export declare class RequestStatus {
4
3
  id: number;
5
4
  code: number;
6
5
  name: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -27,10 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.RequestStatus = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Request_1 = require("./Request");
30
- var RequestStatus = /** @class */ (function (_super) {
31
- __extends(RequestStatus, _super);
15
+ var RequestStatus = /** @class */ (function () {
32
16
  function RequestStatus() {
33
- return _super !== null && _super.apply(this, arguments) || this;
34
17
  }
35
18
  __decorate([
36
19
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -81,5 +64,5 @@ var RequestStatus = /** @class */ (function (_super) {
81
64
  })
82
65
  ], RequestStatus);
83
66
  return RequestStatus;
84
- }(typeorm_1.BaseEntity));
67
+ }());
85
68
  exports.RequestStatus = RequestStatus;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Role } from './Role';
3
- export declare class RoleVisibleTo extends BaseEntity {
2
+ export declare class RoleVisibleTo {
4
3
  id: number;
5
4
  role: Role;
6
5
  visible_to: Role;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -27,10 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.RoleVisibleTo = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Role_1 = require("./Role");
30
- var RoleVisibleTo = /** @class */ (function (_super) {
31
- __extends(RoleVisibleTo, _super);
15
+ var RoleVisibleTo = /** @class */ (function () {
32
16
  function RoleVisibleTo() {
33
- return _super !== null && _super.apply(this, arguments) || this;
34
17
  }
35
18
  __decorate([
36
19
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -60,5 +43,5 @@ var RoleVisibleTo = /** @class */ (function (_super) {
60
43
  })
61
44
  ], RoleVisibleTo);
62
45
  return RoleVisibleTo;
63
- }(typeorm_1.BaseEntity));
46
+ }());
64
47
  exports.RoleVisibleTo = RoleVisibleTo;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Local } from './Local';
3
- export declare class Square extends BaseEntity {
2
+ export declare class Square {
4
3
  id: number;
5
4
  name: string;
6
5
  address: string;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -27,10 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
12
  exports.Square = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Local_1 = require("./Local");
30
- var Square = /** @class */ (function (_super) {
31
- __extends(Square, _super);
15
+ var Square = /** @class */ (function () {
32
16
  function Square() {
33
- return _super !== null && _super.apply(this, arguments) || this;
34
17
  }
35
18
  __decorate([
36
19
  (0, typeorm_1.PrimaryColumn)({
@@ -93,5 +76,5 @@ var Square = /** @class */ (function (_super) {
93
76
  })
94
77
  ], Square);
95
78
  return Square;
96
- }(typeorm_1.BaseEntity));
79
+ }());
97
80
  exports.Square = Square;
@@ -1,7 +1,6 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Terminal } from './Terminal';
3
2
  import { User } from './User';
4
- export declare class TerminalSession extends BaseEntity {
3
+ export declare class TerminalSession {
5
4
  id: number;
6
5
  user: User;
7
6
  terminal: Terminal;
@@ -1,19 +1,4 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- if (typeof b !== "function" && b !== null)
11
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
- extendStatics(d, b);
13
- function __() { this.constructor = d; }
14
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
- };
16
- })();
17
2
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
18
3
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
19
4
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -28,10 +13,8 @@ exports.TerminalSession = void 0;
28
13
  var typeorm_1 = require("typeorm");
29
14
  var Terminal_1 = require("./Terminal");
30
15
  var User_1 = require("./User");
31
- var TerminalSession = /** @class */ (function (_super) {
32
- __extends(TerminalSession, _super);
16
+ var TerminalSession = /** @class */ (function () {
33
17
  function TerminalSession() {
34
- return _super !== null && _super.apply(this, arguments) || this;
35
18
  }
36
19
  __decorate([
37
20
  (0, typeorm_1.PrimaryGeneratedColumn)({
@@ -84,5 +67,5 @@ var TerminalSession = /** @class */ (function (_super) {
84
67
  })
85
68
  ], TerminalSession);
86
69
  return TerminalSession;
87
- }(typeorm_1.BaseEntity));
70
+ }());
88
71
  exports.TerminalSession = TerminalSession;
@@ -1,6 +1,5 @@
1
- import { BaseEntity } from 'typeorm';
2
1
  import { Company } from './Company';
3
- export declare class TypeFood extends BaseEntity {
2
+ export declare class TypeFood {
4
3
  id: number;
5
4
  name: string;
6
5
  status: number;