package com.storycove.dto;

import java.time.LocalDateTime;
import java.util.UUID;

public class ReadingPositionDto {
    
    private UUID id;
    private UUID storyId;
    private Integer chapterIndex;
    private String chapterTitle;
    private Integer wordPosition;
    private Integer characterPosition;
    private Double percentageComplete;
    private String epubCfi;
    private String contextBefore;
    private String contextAfter;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    
    public ReadingPositionDto() {}
    
    public ReadingPositionDto(UUID storyId, Integer chapterIndex, Integer wordPosition) {
        this.storyId = storyId;
        this.chapterIndex = chapterIndex;
        this.wordPosition = wordPosition;
    }
    
    public UUID getId() {
        return id;
    }
    
    public void setId(UUID id) {
        this.id = id;
    }
    
    public UUID getStoryId() {
        return storyId;
    }
    
    public void setStoryId(UUID storyId) {
        this.storyId = storyId;
    }
    
    public Integer getChapterIndex() {
        return chapterIndex;
    }
    
    public void setChapterIndex(Integer chapterIndex) {
        this.chapterIndex = chapterIndex;
    }
    
    public String getChapterTitle() {
        return chapterTitle;
    }
    
    public void setChapterTitle(String chapterTitle) {
        this.chapterTitle = chapterTitle;
    }
    
    public Integer getWordPosition() {
        return wordPosition;
    }
    
    public void setWordPosition(Integer wordPosition) {
        this.wordPosition = wordPosition;
    }
    
    public Integer getCharacterPosition() {
        return characterPosition;
    }
    
    public void setCharacterPosition(Integer characterPosition) {
        this.characterPosition = characterPosition;
    }
    
    public Double getPercentageComplete() {
        return percentageComplete;
    }
    
    public void setPercentageComplete(Double percentageComplete) {
        this.percentageComplete = percentageComplete;
    }
    
    public String getEpubCfi() {
        return epubCfi;
    }
    
    public void setEpubCfi(String epubCfi) {
        this.epubCfi = epubCfi;
    }
    
    public String getContextBefore() {
        return contextBefore;
    }
    
    public void setContextBefore(String contextBefore) {
        this.contextBefore = contextBefore;
    }
    
    public String getContextAfter() {
        return contextAfter;
    }
    
    public void setContextAfter(String contextAfter) {
        this.contextAfter = contextAfter;
    }
    
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }
    
    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }
    
    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
}