????
Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/dist/xtdt/entity/ |
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/dist/xtdt/entity/ranh-gioi-khu.entity.js |
"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.RanhGioiKhu = void 0; const openapi = require("@nestjs/swagger"); const typeorm_1 = require("typeorm"); const swagger_1 = require("@nestjs/swagger"); const quy_hoach_sdd_entity_1 = require("./quy-hoach-sdd.entity"); const dn_thong_tin_thue_entity_1 = require("./dn-thong-tin-thue.entity"); let RanhGioiKhu = class RanhGioiKhu { static _OPENAPI_METADATA_FACTORY() { return { maKhu: { required: true, type: () => String }, loaiKhu: { required: true, type: () => String }, tenKhu: { required: true, type: () => String, nullable: true }, viTri: { required: true, type: () => String, nullable: true }, email: { required: true, type: () => String, nullable: true }, chuDauTuHaTang: { required: true, type: () => String, nullable: true }, soDnDangHD: { required: true, type: () => Number, nullable: true }, soDnDaDK: { required: true, type: () => Number, nullable: true }, linhVucNganhNgheDauTu: { required: true, type: () => String, nullable: true }, dienTichDatQuyHoach: { required: true, type: () => Number, nullable: true }, dienTichDatDaChoThue: { required: true, type: () => Number, nullable: true }, giaChoThueChiTiet: { required: true, type: () => String, nullable: true }, tyLeLapDay: { required: true, type: () => Number, nullable: true }, dienTichDatConTrong: { required: true, type: () => Number, nullable: true }, ngayThanhLap: { required: true, type: () => Date, nullable: true }, parent: { required: true, type: () => String, nullable: true }, dienTich: { required: true, type: () => Number, nullable: true }, nguonThongTin: { required: true, type: () => String, nullable: true }, maPhuongXa: { required: true, type: () => String, nullable: true }, maQuanHuyen: { required: true, type: () => String, nullable: true }, shape: { required: true, type: () => String, nullable: true } }; } }; __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.PrimaryGeneratedColumn)('rowid', { name: 'OBJECTID' }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "objectId", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "MaKhu", nullable: true, unique: true, length: 25, comment: 'Mã ranh giới khu' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "maKhu", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "LoaiKhu", length: 50, comment: 'Loại ranh giới khu' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "loaiKhu", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "TenKhu", nullable: true, length: 255, comment: 'Tên ranh giới khu' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "tenKhu", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "ViTri", nullable: true, length: 500, comment: 'Vị trí khu' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "viTri", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "Email", nullable: true, length: 255, comment: 'Email quản lý khu' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "email", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "ChuDauTuHaTang", nullable: true, length: 255, comment: 'Chủ đầu tư hạ tầng' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "chuDauTuHaTang", void 0); __decorate([ (0, typeorm_1.Column)("smallint", { name: "SoDNDangHD", nullable: true, comment: 'Số doanh nghiệp đang hoạt động' }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "soDnDangHD", void 0); __decorate([ (0, typeorm_1.Column)("smallint", { name: "SoDNDaDK", nullable: true, comment: 'Số doanh nghiệp đã đăng ký' }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "soDnDaDK", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "LinhVucNganhNgheDauTu", nullable: true, length: 1020, comment: "Lĩnh vực, ngành nghề đầu tư" }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "linhVucNganhNgheDauTu", void 0); __decorate([ (0, typeorm_1.Column)("numeric", { name: "DienTichDatQuyHoach", nullable: true, precision: 38, scale: 8, comment: "Diện tích đất quy hoạch" }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "dienTichDatQuyHoach", void 0); __decorate([ (0, typeorm_1.Column)("numeric", { name: "DienTichDatDaChoThue", nullable: true, precision: 38, scale: 8, comment: "Diện tích đất đã cho thuê" }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "dienTichDatDaChoThue", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "GiaChoThueChiTiet", nullable: true, length: 1020, comment: "Giá cho thuê chi tiết" }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "giaChoThueChiTiet", void 0); __decorate([ (0, typeorm_1.Column)("numeric", { name: "TyLeLapDay", nullable: true, precision: 38, scale: 8, comment: "Tỷ lệ lấp đầy" }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "tyLeLapDay", void 0); __decorate([ (0, typeorm_1.Column)("numeric", { name: "DienTichDatConTrong", nullable: true, precision: 38, scale: 8, comment: "Diện tích đất còn trống" }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "dienTichDatConTrong", void 0); __decorate([ (0, typeorm_1.Column)("datetime2", { name: "NgayThanhLap", nullable: true, comment: "Ngày thành lập" }), __metadata("design:type", Date) ], RanhGioiKhu.prototype, "ngayThanhLap", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "Parent", nullable: true, length: 50, comment: "" }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "parent", void 0); __decorate([ (0, typeorm_1.Column)("numeric", { name: "DienTich", nullable: true, precision: 38, scale: 8, comment: "Tổng diện tích ranh giới khu" }), __metadata("design:type", Number) ], RanhGioiKhu.prototype, "dienTich", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "NguonThongTin", nullable: true, length: 100, comment: "Nguồn thông tin" }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "nguonThongTin", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "MaPhuongXa", nullable: true, length: 50, comment: "Phường xã" }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "maPhuongXa", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "MaQuanHuyen", nullable: true, length: 50, comment: "Quận huyện" }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "maQuanHuyen", void 0); __decorate([ (0, typeorm_1.Column)("geometry", { name: "SHAPE", nullable: true, comment: 'Thông tin địa lý' }), __metadata("design:type", String) ], RanhGioiKhu.prototype, "shape", void 0); __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.OneToMany)(() => quy_hoach_sdd_entity_1.QuyHoachSDD, quyHoach => quyHoach.ranhGioiKhu), __metadata("design:type", Array) ], RanhGioiKhu.prototype, "quyHoachSDD", void 0); __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.OneToMany)(() => dn_thong_tin_thue_entity_1.DNThongTinThue, thongTinThue => thongTinThue.ranhGioiKhu), __metadata("design:type", Array) ], RanhGioiKhu.prototype, "dnThongTinThues", void 0); RanhGioiKhu = __decorate([ (0, typeorm_1.Entity)("RANHGIOIKHU", { schema: "dbo" }) ], RanhGioiKhu); exports.RanhGioiKhu = RanhGioiKhu;