content: package com.konsol.beatstream.service.dto;
  
  import jakarta.validation.constraints.*;
  import java.io.Serializable;
  import java.util.Objects;
  
  /**
   * A DTO for the {@link com.konsol.beatstream.domain.Artist} entity.
   */
  @SuppressWarnings("common-java:DuplicatedBlocks")
  public class ArtistDTO implements Serializable {
  
      private String id;
  
      @NotNull
      private String name;
  
      private String bio;
  
      private String coverImageFileId;
  
      public String getId() {
          return id;
      }
  
      public void setId(String id) {
          this.id = id;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public String getBio() {
          return bio;
      }
  
      public void setBio(String bio) {
          this.bio = bio;
      }
  
      public String getCoverImageFileId() {
          return coverImageFileId;
      }
  
      public void setCoverImageFileId(String coverImageFileId) {
          this.coverImageFileId = coverImageFileId;
      }
  
      @Override
      public boolean equals(Object o) {
          if (this == o) {
              return true;
          }
          if (!(o instanceof ArtistDTO)) {
              return false;
          }
  
          ArtistDTO artistDTO = (ArtistDTO) o;
          if (this.id == null) {
              return false;
          }
          return Objects.equals(this.id, artistDTO.id);
      }
  
      @Override
      public int hashCode() {
          return Objects.hash(this.id);
      }
  
      // prettier-ignore
      @Override
      public String toString() {
          return "ArtistDTO{" +
              "id='" + getId() + "'" +
              ", name='" + getName() + "'" +
              ", bio='" + getBio() + "'" +
              ", coverImageFileId='" + getCoverImageFileId() + "'" +
              "}";
      }
  }
  