65 lines
2.5 KiB
JavaScript
65 lines
2.5 KiB
JavaScript
"use strict";
|
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
};
|
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.OsmArea = void 0;
|
|
const typeorm_1 = require("typeorm");
|
|
let OsmArea = class OsmArea {
|
|
id;
|
|
osm_id;
|
|
longitude;
|
|
latitude;
|
|
name;
|
|
name_ar;
|
|
place_type;
|
|
geom;
|
|
other_tags;
|
|
};
|
|
exports.OsmArea = OsmArea;
|
|
__decorate([
|
|
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
__metadata("design:type", Number)
|
|
], OsmArea.prototype, "id", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
__metadata("design:type", Number)
|
|
], OsmArea.prototype, "osm_id", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ type: 'decimal', precision: 11, scale: 8, nullable: true }),
|
|
__metadata("design:type", Number)
|
|
], OsmArea.prototype, "longitude", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 8, nullable: true }),
|
|
__metadata("design:type", Number)
|
|
], OsmArea.prototype, "latitude", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
__metadata("design:type", String)
|
|
], OsmArea.prototype, "name", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
__metadata("design:type", String)
|
|
], OsmArea.prototype, "name_ar", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
__metadata("design:type", String)
|
|
], OsmArea.prototype, "place_type", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ type: 'geometry', nullable: true }),
|
|
__metadata("design:type", Object)
|
|
], OsmArea.prototype, "geom", void 0);
|
|
__decorate([
|
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
__metadata("design:type", String)
|
|
], OsmArea.prototype, "other_tags", void 0);
|
|
exports.OsmArea = OsmArea = __decorate([
|
|
(0, typeorm_1.Entity)('osm_areas')
|
|
], OsmArea);
|
|
//# sourceMappingURL=osm-area.entity.js.map
|