????
Current Path : C:/inetpub/vhost/qnquyhoach.nextform.vn/api/dist/apps/audit-logs/entities/ |
Current File : C:/inetpub/vhost/qnquyhoach.nextform.vn/api/dist/apps/audit-logs/entities/audit-log.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); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.AuditLog = void 0; const base_entity_model_1 = __importDefault(require("../../models/base-entity.model")); const swagger_1 = require("@nestjs/swagger"); const typeorm_1 = require("typeorm"); let AuditLog = class AuditLog extends base_entity_model_1.default { }; exports.AuditLog = AuditLog; __decorate([ (0, swagger_1.ApiProperty)(), (0, typeorm_1.Column)({ nullable: false, type: 'varchar' }), __metadata("design:type", String) ], AuditLog.prototype, "logTableName", void 0); __decorate([ (0, swagger_1.ApiProperty)(), (0, typeorm_1.Column)({ nullable: false, type: 'int4' }), __metadata("design:type", Number) ], AuditLog.prototype, "logId", void 0); __decorate([ (0, swagger_1.ApiProperty)(), (0, typeorm_1.Column)({ nullable: false, type: 'float4' }), __metadata("design:type", Number) ], AuditLog.prototype, "approvedBy", void 0); __decorate([ (0, swagger_1.ApiProperty)(), (0, typeorm_1.Column)({ nullable: true, type: 'timestamptz' }), __metadata("design:type", Date) ], AuditLog.prototype, "approvedAt", void 0); __decorate([ (0, swagger_1.ApiProperty)(), (0, typeorm_1.Column)({ nullable: true, type: 'varchar' }), __metadata("design:type", String) ], AuditLog.prototype, "status", void 0); __decorate([ (0, swagger_1.ApiProperty)(), (0, typeorm_1.Column)({ nullable: true, type: 'varchar' }), __metadata("design:type", String) ], AuditLog.prototype, "comments", void 0); exports.AuditLog = AuditLog = __decorate([ (0, typeorm_1.Entity)({ synchronize: false }) ], AuditLog); //# sourceMappingURL=audit-log.entity.js.map