????

Your IP : 216.73.216.64


Current Path : C:/inetpub/vhost/qnquyhoach.nextform.vn/api/dist/apps/qhpks/cay-xanhs/
Upload File :
Current File : C:/inetpub/vhost/qnquyhoach.nextform.vn/api/dist/apps/qhpks/cay-xanhs/cay-xanhs.controller.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.CayXanhsController = void 0;
const common_1 = require("@nestjs/common");
const cay_xanhs_service_1 = require("./cay-xanhs.service");
const qhpks_constant_1 = require("../qhpks.constant");
const crud_1 = require("@dataui/crud");
const cay_xanh_entity_1 = require("./entities/cay-xanh.entity");
const swagger_1 = require("@nestjs/swagger");
let CayXanhsController = class CayXanhsController {
    constructor(service) {
        this.service = service;
    }
};
exports.CayXanhsController = CayXanhsController;
exports.CayXanhsController = CayXanhsController = __decorate([
    (0, swagger_1.ApiTags)(`${qhpks_constant_1.GROUP_NAME} - Cây xanh`),
    (0, crud_1.Crud)({
        model: {
            type: cay_xanh_entity_1.CayXanh,
        },
    }),
    (0, common_1.Controller)(`${qhpks_constant_1.GROUP_ROUTER}/cay-xanhs`),
    __metadata("design:paramtypes", [cay_xanhs_service_1.CayXanhsService])
], CayXanhsController);
//# sourceMappingURL=cay-xanhs.controller.js.map