package com.storycove.dto;

import jakarta.validation.constraints.Min;

public class ReadingProgressRequest {
    
    @Min(value = 0, message = "Reading position must be non-negative")
    private Integer position;
    
    public ReadingProgressRequest() {}
    
    public ReadingProgressRequest(Integer position) {
        this.position = position;
    }
    
    public Integer getPosition() {
        return position;
    }
    
    public void setPosition(Integer position) {
        this.position = position;
    }
}