"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.CarCatalogEntry = void 0;
const typeorm_1 = require("typeorm");
let CarCatalogEntry = class CarCatalogEntry {
};
exports.CarCatalogEntry = CarCatalogEntry;
__decorate([
    (0, typeorm_1.PrimaryGeneratedColumn)(),
    __metadata("design:type", Number)
], CarCatalogEntry.prototype, "id", void 0);
__decorate([
    (0, typeorm_1.Column)({ length: 512 }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "sourceUrl", void 0);
__decorate([
    (0, typeorm_1.Column)({ charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "make", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "makeArabic", void 0);
__decorate([
    (0, typeorm_1.Column)({ charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "model", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "modelArabic", void 0);
__decorate([
    (0, typeorm_1.Column)(),
    __metadata("design:type", Number)
], CarCatalogEntry.prototype, "year", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "image1Url", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "image2Url", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "priceUae", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "priceKsa", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "countryOfOrigin", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "vehicleClass", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "bodyStyles", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "weight", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "reviewGood", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "reviewBad", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "overview", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "reliability", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "resaleValue", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, type: "text", charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "knownProblems", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "nhtsaDriverFrontalRating", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "euroNcapOverallAdultRating", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "engine", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "gearbox", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "powerHp", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "torqueNm", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "fuelEconL100km", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "fuelEconKmL", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "zeroToHundredKphSec", void 0);
__decorate([
    (0, typeorm_1.Column)({ nullable: true, charset: "utf8mb4", collation: "utf8mb4_general_ci" }),
    __metadata("design:type", String)
], CarCatalogEntry.prototype, "topSpeedKph", void 0);
__decorate([
    (0, typeorm_1.CreateDateColumn)(),
    __metadata("design:type", Date)
], CarCatalogEntry.prototype, "createdAt", void 0);
__decorate([
    (0, typeorm_1.UpdateDateColumn)(),
    __metadata("design:type", Date)
], CarCatalogEntry.prototype, "updatedAt", void 0);
exports.CarCatalogEntry = CarCatalogEntry = __decorate([
    (0, typeorm_1.Entity)("car_catalog_entries"),
    (0, typeorm_1.Index)("IDX_car_catalog_source_url", ["sourceUrl"], { unique: true }),
    (0, typeorm_1.Index)("IDX_car_catalog_make_model_year", ["make", "model", "year"])
], CarCatalogEntry);
//# sourceMappingURL=car-catalog-entry.entity.js.map