test-entity-library-asm 2.0.5 → 2.0.6

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.
@@ -6,6 +6,8 @@ export declare class Square {
6
6
  name: string;
7
7
  city: City;
8
8
  address: string;
9
+ latitude: number;
10
+ longitude: number;
9
11
  details: string;
10
12
  maximum_number_locals: number;
11
13
  email: string;
@@ -39,6 +39,14 @@ var Square = /** @class */ (function () {
39
39
  (0, typeorm_1.Column)({ length: 100, comment: 'Dirección del centro comercial/plazoleta.' }),
40
40
  __metadata("design:type", String)
41
41
  ], Square.prototype, "address", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 8 }),
44
+ __metadata("design:type", Number)
45
+ ], Square.prototype, "latitude", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 8 }),
48
+ __metadata("design:type", Number)
49
+ ], Square.prototype, "longitude", void 0);
42
50
  __decorate([
43
51
  (0, typeorm_1.Column)({
44
52
  type: 'mediumtext',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-entity-library-asm",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Entidades de ejemplo para una base de datos",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,6 +35,12 @@ export class Square {
35
35
  @Column({ length: 100, comment: 'Dirección del centro comercial/plazoleta.' })
36
36
  address: string
37
37
 
38
+ @Column({ type: 'decimal', precision: 10, scale: 8 })
39
+ latitude: number
40
+
41
+ @Column({ type: 'decimal', precision: 10, scale: 8 })
42
+ longitude: number
43
+
38
44
  @Column({
39
45
  type: 'mediumtext',
40
46
  nullable: true,