package com.atlassian.stash.internal.comment;

/**
 * A simple model class for providing the number of {@link #getActive() active} and {@link #getOrphaned() orphaned}
 * comments.
 *
 * @since 2.0
 */
public class CommentCounts {

    private final int active;
    private final int orphaned;

    public CommentCounts(int active, int orphaned) {
        this.active = active;
        this.orphaned = orphaned;
    }

    /**
     * @return the number of active comments
     */
    public int getActive() {
        return active;
    }

    /**
     * @return the number of orphaned comments
     */
    public int getOrphaned() {
        return orphaned;
    }
}