package com.ruoyi.cms.domain.rc;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 公共招聘会响应对象
 * @author kiro
 * @date 2026-01-10
 */
@Data
@ApiModel("公共招聘会响应")
public class PublicJobFairResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("状态码")
    private Integer code;

    @ApiModelProperty("消息")
    private String msg;

    @ApiModelProperty("数据")
    private PageData data;

    @Data
    public static class PageData implements Serializable {
        private static final long serialVersionUID = 1L;

        @ApiModelProperty("总数")
        private Long total;

        @ApiModelProperty("列表")
        private List<PublicJobFair> list;

        @ApiModelProperty("当前页码")
        private Integer pageNum;

        @ApiModelProperty("每页数量")
        private Integer pageSize;

        @ApiModelProperty("当前页数量")
        private Integer size;

        @ApiModelProperty("起始行")
        private Integer startRow;

        @ApiModelProperty("结束行")
        private Integer endRow;

        @ApiModelProperty("总页数")
        private Integer pages;

        @ApiModelProperty("上一页")
        private Integer prePage;

        @ApiModelProperty("下一页")
        private Integer nextPage;

        @ApiModelProperty("是否第一页")
        private Boolean isFirstPage;

        @ApiModelProperty("是否最后一页")
        private Boolean isLastPage;

        @ApiModelProperty("是否有上一页")
        private Boolean hasPreviousPage;

        @ApiModelProperty("是否有下一页")
        private Boolean hasNextPage;

        @ApiModelProperty("导航页数")
        private Integer navigatePages;

        @ApiModelProperty("导航页码")
        private List<Integer> navigatepageNums;

        @ApiModelProperty("导航第一页")
        private Integer navigateFirstPage;

        @ApiModelProperty("导航最后一页")
        private Integer navigateLastPage;
    }
}
