class Tenant {

    @Override
    public boolean equals(Object other) {
        if (!(other instanceof Tenant)) {
            return false;
        }
        Tenant that = (Tenant) other;
        return name.equals(that.name);
    }

    protected  Tenant(TenantName name,
                     SessionRepository sessionRepository,
                     RequestHandler requestHandler,
                     TenantApplications applicationRepo,
                     Instant created);

}