????
Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/dist/xtdt/entity/ |
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/dist/xtdt/entity/map-client.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.QuerySearchDetail = exports.QuerySearch = exports.MapClientSearch = exports.MapClientView = void 0; const openapi = require("@nestjs/swagger"); const swagger_1 = require("@nestjs/swagger"); const typeorm_1 = require("typeorm"); const class_transformer_1 = require("class-transformer"); let MapClientView = class MapClientView { static _OPENAPI_METADATA_FACTORY() { return { OBJECTID: { required: true, type: () => Number }, Content: { required: true, type: () => String }, TableName: { required: true, type: () => String }, DienTich: { required: true, type: () => Number }, LinhVucDauTu: { required: true, type: () => String }, DiaBan: { required: true, type: () => String }, MaQuanHuyen: { required: true, type: () => String }, SHAPE: { required: true, type: () => Object } }; } }; __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", Number) ], MapClientView.prototype, "OBJECTID", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", String) ], MapClientView.prototype, "Content", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", String) ], MapClientView.prototype, "TableName", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", Number) ], MapClientView.prototype, "DienTich", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", String) ], MapClientView.prototype, "LinhVucDauTu", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", String) ], MapClientView.prototype, "DiaBan", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", String) ], MapClientView.prototype, "MaQuanHuyen", void 0); __decorate([ (0, typeorm_1.ViewColumn)(), __metadata("design:type", Object) ], MapClientView.prototype, "SHAPE", void 0); MapClientView = __decorate([ (0, typeorm_1.ViewEntity)({ name: "MapClientView" }) ], MapClientView); exports.MapClientView = MapClientView; class MapClientSearch { static _OPENAPI_METADATA_FACTORY() { return { OBJECTID: { required: true, type: () => Number }, Content: { required: true, type: () => String }, TableName: { required: true, type: () => String }, DiaBan: { required: false, type: () => String, nullable: true }, MaQuanHuyen: { required: false, type: () => String, nullable: true }, TenQuanHuyen: { required: false, type: () => String, nullable: true } }; } } __decorate([ (0, swagger_1.ApiProperty)(), __metadata("design:type", Number) ], MapClientSearch.prototype, "OBJECTID", void 0); __decorate([ (0, swagger_1.ApiProperty)(), __metadata("design:type", String) ], MapClientSearch.prototype, "Content", void 0); __decorate([ (0, swagger_1.ApiProperty)(), __metadata("design:type", String) ], MapClientSearch.prototype, "TableName", void 0); __decorate([ (0, swagger_1.ApiProperty)(), __metadata("design:type", String) ], MapClientSearch.prototype, "DiaBan", void 0); __decorate([ (0, swagger_1.ApiProperty)(), __metadata("design:type", String) ], MapClientSearch.prototype, "MaQuanHuyen", void 0); __decorate([ (0, swagger_1.ApiProperty)(), __metadata("design:type", String) ], MapClientSearch.prototype, "TenQuanHuyen", void 0); exports.MapClientSearch = MapClientSearch; class QuerySearch { static _OPENAPI_METADATA_FACTORY() { return { q: { required: true, type: () => String, nullable: true }, lv: { required: true, type: () => String, nullable: true }, db: { required: true, type: () => String, nullable: true }, dtf: { required: true, type: () => Number, nullable: true }, dtt: { required: true, type: () => Number, nullable: true }, kc: { required: true, type: () => Number, nullable: true }, dv: { required: true, type: () => String, nullable: true }, px: { required: true, type: () => String, nullable: true }, qh: { required: true, type: () => String, nullable: true }, skip: { required: true, type: () => Number, nullable: true }, limit: { required: true, type: () => Number, nullable: true }, adv: { required: true, type: () => Object }, tt: { required: true, type: () => String, nullable: true } }; } } __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Chuỗi tìm kiếm' }), __metadata("design:type", String) ], QuerySearch.prototype, "q", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Lĩnh vực' }), __metadata("design:type", String) ], QuerySearch.prototype, "lv", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Địa bàn' }), __metadata("design:type", String) ], QuerySearch.prototype, "db", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Từ diện tích' }), __metadata("design:type", Number) ], QuerySearch.prototype, "dtf", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Đến diện tích' }), __metadata("design:type", Number) ], QuerySearch.prototype, "dtt", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Khoảng cách đến địa vật' }), __metadata("design:type", Number) ], QuerySearch.prototype, "kc", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Địa vật' }), __metadata("design:type", String) ], QuerySearch.prototype, "dv", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Mã phường xã' }), __metadata("design:type", String) ], QuerySearch.prototype, "px", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Mã quận huyện' }), __metadata("design:type", String) ], QuerySearch.prototype, "qh", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Số dòng bỏ qua' }), __metadata("design:type", Number) ], QuerySearch.prototype, "skip", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Giới hạn số dòng cần lấy' }), __metadata("design:type", Number) ], QuerySearch.prototype, "limit", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Tìm kiếm nâng cao' }), (0, class_transformer_1.Type)(() => Boolean), __metadata("design:type", Number) ], QuerySearch.prototype, "adv", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Tình trạng' }), __metadata("design:type", String) ], QuerySearch.prototype, "tt", void 0); exports.QuerySearch = QuerySearch; class QuerySearchDetail { static _OPENAPI_METADATA_FACTORY() { return { id: { required: true, type: () => String, nullable: true }, lv: { required: true, type: () => String, nullable: true }, dtf: { required: true, type: () => Number, nullable: true }, dtt: { required: true, type: () => Number, nullable: true }, kc: { required: true, type: () => Number, nullable: true }, dv: { required: true, type: () => String, nullable: true }, type: { required: true, type: () => Object }, skip: { required: true, type: () => Number, nullable: true }, limit: { required: true, type: () => Number, nullable: true } }; } } __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Địa bàn' }), __metadata("design:type", String) ], QuerySearchDetail.prototype, "id", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Lĩnh vực' }), __metadata("design:type", String) ], QuerySearchDetail.prototype, "lv", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Từ diện tích' }), __metadata("design:type", Number) ], QuerySearchDetail.prototype, "dtf", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Đến diện tích' }), __metadata("design:type", Number) ], QuerySearchDetail.prototype, "dtt", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Khoảng cách đến địa vật' }), __metadata("design:type", Number) ], QuerySearchDetail.prototype, "kc", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Địa vật' }), __metadata("design:type", String) ], QuerySearchDetail.prototype, "dv", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Loại bảng' }), __metadata("design:type", Number) ], QuerySearchDetail.prototype, "type", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Số dòng bỏ qua' }), __metadata("design:type", Number) ], QuerySearchDetail.prototype, "skip", void 0); __decorate([ (0, swagger_1.ApiProperty)({ required: false, description: 'Giới hạn số dòng cần lấy' }), __metadata("design:type", Number) ], QuerySearchDetail.prototype, "limit", void 0); exports.QuerySearchDetail = QuerySearchDetail;