UNPKG

skailan-core

Version:

Servicio de autenticación y multitenancy para Skailan.

28 lines • 715 B
export class Membership { id; userId; organizationId; role; status; invitedBy; joinedAt; deletedAt; createdAt; updatedAt; constructor(id, userId, organizationId, role, status, invitedBy, joinedAt, deletedAt, createdAt, updatedAt) { this.id = id; this.userId = userId; this.organizationId = organizationId; this.role = role; this.status = status; this.invitedBy = invitedBy; this.joinedAt = joinedAt; this.deletedAt = deletedAt; this.createdAt = createdAt; this.updatedAt = updatedAt; } changeRole(newRole) { this.role = newRole; } } //# sourceMappingURL=Membership.js.map