????
Current Path : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/dist/xtdt/entity/ |
Current File : C:/inetpub/vhost/binhdinhinvest.gdtvietnam.com/api/dist/xtdt/entity/quy-hoach-sdd.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.QuyHoachSDD = void 0; const openapi = require("@nestjs/swagger"); const typeorm_1 = require("typeorm"); const swagger_1 = require("@nestjs/swagger"); const dn_thue_dat_entity_1 = require("./dn-thue-dat.entity"); const ranh_gioi_khu_entity_1 = require("./ranh-gioi-khu.entity"); const diem_dau_tu_entity_1 = require("./diem-dau-tu.entity"); const entity_1 = require("../../category/entity"); let QuyHoachSDD = class QuyHoachSDD { static _OPENAPI_METADATA_FACTORY() { return { objectId: { required: true, type: () => Number }, quyHoachId: { required: true, type: () => String }, maSDD: { required: true, type: () => String, nullable: true }, maKhu: { required: true, type: () => String, nullable: true }, diemDauTuId: { required: true, type: () => String }, mucDichSDD: { required: true, type: () => String }, maLinhVuc: { required: true, type: () => String, nullable: true }, kyHieuO: { required: true, type: () => String, nullable: true }, daSD: { required: true, type: () => String }, doCaoTangThap: { required: true, type: () => Number, nullable: true }, doCaoTangCao: { required: true, type: () => Number, nullable: true }, dienTich: { required: true, type: () => Number, nullable: true }, shape: { required: true, type: () => String, nullable: true } }; } }; __decorate([ (0, typeorm_1.PrimaryGeneratedColumn)('rowid', { name: "OBJECTID" }), __metadata("design:type", Number) ], QuyHoachSDD.prototype, "objectId", void 0); __decorate([ (0, typeorm_1.Generated)("uuid"), (0, typeorm_1.Column)('uniqueidentifier', { name: "QuyHoachID", unique: true }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "quyHoachId", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "MaSDD", nullable: true, length: 100 }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "maSDD", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "MaKhu", length: 25, nullable: true }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "maKhu", void 0); __decorate([ (0, typeorm_1.Column)('uniqueidentifier', { name: 'DiemDauTuID', nullable: true }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "diemDauTuId", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "MucDichSDD", length: 25 }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "mucDichSDD", void 0); __decorate([ (0, typeorm_1.Column)('nvarchar', { name: 'LinhVucDauTu', length: 25, nullable: true }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "maLinhVuc", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "KyHieuO", nullable: true, length: 10 }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "kyHieuO", void 0); __decorate([ (0, typeorm_1.Column)("nvarchar", { name: "DaSD", length: 3 }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "daSD", void 0); __decorate([ (0, typeorm_1.Column)("smallint", { name: "DoCaoTangThap", nullable: true }), __metadata("design:type", Number) ], QuyHoachSDD.prototype, "doCaoTangThap", void 0); __decorate([ (0, typeorm_1.Column)("smallint", { name: "DoCaoTangCao", nullable: true }), __metadata("design:type", Number) ], QuyHoachSDD.prototype, "doCaoTangCao", void 0); __decorate([ (0, typeorm_1.Column)("numeric", { name: "DienTich", nullable: true, precision: 38, scale: 8, }), __metadata("design:type", Number) ], QuyHoachSDD.prototype, "dienTich", void 0); __decorate([ (0, typeorm_1.Column)("geometry", { name: "SHAPE", nullable: true }), __metadata("design:type", String) ], QuyHoachSDD.prototype, "shape", void 0); __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.OneToMany)(() => dn_thue_dat_entity_1.DNThueDat, thueDat => thueDat.quyHoachSDD), __metadata("design:type", Array) ], QuyHoachSDD.prototype, "dnThueDats", void 0); __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.JoinColumn)({ name: 'MaKhu', referencedColumnName: 'maKhu' }), (0, typeorm_1.ManyToOne)(() => ranh_gioi_khu_entity_1.RanhGioiKhu, khu => khu.quyHoachSDD), __metadata("design:type", ranh_gioi_khu_entity_1.RanhGioiKhu) ], QuyHoachSDD.prototype, "ranhGioiKhu", void 0); __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.JoinColumn)({ name: 'DiemDauTuID', referencedColumnName: 'diemDauTuId' }), (0, typeorm_1.ManyToOne)(() => diem_dau_tu_entity_1.DiemDauTu, diem => diem.quyHoachSDD), __metadata("design:type", diem_dau_tu_entity_1.DiemDauTu) ], QuyHoachSDD.prototype, "diemDauTu", void 0); __decorate([ (0, swagger_1.ApiHideProperty)(), (0, typeorm_1.ManyToOne)(() => entity_1.LinhVucDauTu, linhVuc => linhVuc.quyHoachSDD), (0, typeorm_1.JoinColumn)({ name: 'LinhVucDauTu', referencedColumnName: 'code' }), __metadata("design:type", entity_1.LinhVucDauTu) ], QuyHoachSDD.prototype, "linhVucDauTu", void 0); QuyHoachSDD = __decorate([ (0, typeorm_1.Index)("R35_pk", ["objectId"], { unique: true }), (0, typeorm_1.Index)("S7_idx", ["shape"], {}), (0, typeorm_1.Entity)("QUYHOACHSDDKHU", { schema: "dbo" }) ], QuyHoachSDD); exports.QuyHoachSDD = QuyHoachSDD;