@dolittle/sdk.tenancy
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
19 lines • 867 B
JavaScript
;
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Tenant = void 0;
/**
* Represents a Tenant.
*/
class Tenant {
/**
* Initializes a new instance of {@link Tenant}.
* @param {TenantId} id - The identifier of the tenant.
*/
constructor(id) {
this.id = id;
}
}
exports.Tenant = Tenant;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGVuYW50LmpzIiwic291cmNlUm9vdCI6Ii4uLyIsInNvdXJjZXMiOlsiVGVuYW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwrQ0FBK0M7QUFDL0MscUdBQXFHOzs7QUFJckc7O0dBRUc7QUFDSCxNQUFhLE1BQU07SUFDZjs7O09BR0c7SUFDSCxZQUFxQixFQUFZO1FBQVosT0FBRSxHQUFGLEVBQUUsQ0FBVTtJQUNqQyxDQUFDO0NBQ0o7QUFQRCx3QkFPQyJ9