hunk.code_window:         this.organizationRepository = organizationRepository;
           this.userOrganizationService = userOrganizationService;
           this.roleGraph = roleGraph;
           this.configService = configService;
           this.commonConfig = commonConfig;
           this.emailConfig = emailConfig;
           this.userChangedHandler = userChangedHandler;
           this.encryptionService = encryptionService;
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java
hunk.type: replace
file: package com.appsmith.server.dtos;
  
  import com.appsmith.server.constants.CommentOnboardingState;
  import com.fasterxml.jackson.annotation.JsonProperty;
  import lombok.Data;
  
  import java.util.Set;
  
  @Data
  public class UserProfileDTO {
  
      String email;
  
      Set<String> organizationIds;
  
      String username;
  
      String name;
  
      String gender;
  
      @JsonProperty(value = "isAnonymous")
      boolean isAnonymous;
  
      @JsonProperty(value = "isEnabled")
      boolean isEnabled;
  
      boolean isEmptyInstance = false;
  
      @JsonProperty("isSuperUser")
      boolean isSuperUser = false;
  
      CommentOnboardingState commentOnboardingState;
  
      String photoId;
  
      String role;
  
      String useCase;
  
      public boolean isAccountNonExpired() {
          return this.isEnabled;
      }
  
      public boolean isAccountNonLocked() {
          return this.isEnabled;
      }
  
      public boolean isCredentialsNonExpired() {
          return this.isEnabled;
      }
  
  }
  