const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.js');
let __credo_ts_core = require("@credo-ts/core");
__credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);

//#region ../tenants/src/repository/TenantRoutingRecord.ts
var TenantRoutingRecord = class TenantRoutingRecord extends __credo_ts_core.BaseRecord {
	constructor(props) {
		super();
		this.type = TenantRoutingRecord.type;
		if (props) {
			this.id = props.id ?? __credo_ts_core.utils.uuid();
			this.createdAt = props.createdAt ?? /* @__PURE__ */ new Date();
			this._tags = props.tags ?? {};
			this.tenantId = props.tenantId;
			this.recipientKeyFingerprint = props.recipientKeyFingerprint;
		}
	}
	getTags() {
		return {
			...this._tags,
			tenantId: this.tenantId,
			recipientKeyFingerprint: this.recipientKeyFingerprint
		};
	}
};
TenantRoutingRecord.type = "TenantRoutingRecord";

//#endregion
exports.TenantRoutingRecord = TenantRoutingRecord;