package jnpf.model.memberLog.vo;

import jnpf.base.vo.PaginationVO;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 评论分页参数
 *
 * @author yanwenfu
 * @create 2023-08-17
 */
@Getter
@Setter
@NoArgsConstructor
public class CommentPaginationVo extends PaginationVO {

    /** 评论总条数 */
    private Integer commentTotalNum;

    public CommentPaginationVo(PaginationVO pagination) {

        this.setCurrentPage(pagination.getCurrentPage());
        this.setPageSize(pagination.getPageSize());
        this.setTotal(pagination.getTotal());
    }
}
