UNPKG

@nestdevx/tenant

Version:

Tenant module for multi-tenant NestJS applications.

15 lines 468 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TenantDto = void 0; class TenantDto { constructor(partial) { this.id = partial._id?.toString(); this.name = partial.name; this.createdAt = partial.createdAt; this.updatedAt = partial.updatedAt; this.host = partial.host; this.isActive = partial.isActive; } } exports.TenantDto = TenantDto; //# sourceMappingURL=tenant.dto.js.map