Class TenantBaseData

java.lang.Object
de.xima.fc.tenant.event.TenantBaseData
All Implemented Interfaces:
Serializable

public final class TenantBaseData extends Object implements Serializable
Basic data about a tenant.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Constructor Details

    • TenantBaseData

      public TenantBaseData(Long id, String name)
      Creates a new TenantBaseData instance.
      Parameters:
      id - The unique ID of the tenant.
      name - The name of the tenant.
  • Method Details

    • getId

      public Long getId()
      The unique ID of the tenant.
    • getName

      public String getName()
      The name of the tenant.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object