package online.wesal.wesal.dto;

import java.time.LocalDateTime;

public class LeaderboardEntry {
    
    private String displayName;
    private String username;
    private String avatar;
    private int attempts;
    private boolean solved;
    private LocalDateTime submittedAt;
    
    public LeaderboardEntry() {}
    
    public LeaderboardEntry(String displayName, String username, String avatar, int attempts, boolean solved, LocalDateTime submittedAt) {
        this.displayName = displayName;
        this.username = username;
        this.avatar = avatar;
        this.attempts = attempts;
        this.solved = solved;
        this.submittedAt = submittedAt;
    }
    
    public String getDisplayName() {
        return displayName;
    }
    
    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getAvatar() {
        return avatar;
    }
    
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }
    
    public int getAttempts() {
        return attempts;
    }
    
    public void setAttempts(int attempts) {
        this.attempts = attempts;
    }
    
    public boolean isSolved() {
        return solved;
    }
    
    public void setSolved(boolean solved) {
        this.solved = solved;
    }
    
    public LocalDateTime getSubmittedAt() {
        return submittedAt;
    }
    
    public void setSubmittedAt(LocalDateTime submittedAt) {
        this.submittedAt = submittedAt;
    }
}