package com.sundot.airport.exam.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * <b>功能名：</b>DailyTaskConfigQueryDTO<br>
 * <b>说明：</b> 每日答题任务配置查询DTO <br>
 * <b>著作权：</b> Copyright (C) 2025 SUNDOT CORPORATION<br>
 * <b>修改履历：
 *
 * @author Simon Lin
 */
public class DailyTaskConfigQueryDTO {

    /**
     * 配置名称（模糊查询）
     */
    private String dtcName;

    /**
     * 角色
     */
    private String role;

    /**
     * 启用状态
     */
    private Boolean dtcEnableStatus;

    /**
     * 查询开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    /**
     * 查询结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    /**
     * 页码
     */
    private Integer pageNum = 1;

    /**
     * 每页大小
     */
    private Integer pageSize = 10;

    // Getters and Setters

    public String getDtcName() {
        return dtcName;
    }

    public void setDtcName(String dtcName) {
        this.dtcName = dtcName;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Boolean getDtcEnableStatus() {
        return dtcEnableStatus;
    }

    public void setDtcEnableStatus(Boolean dtcEnableStatus) {
        this.dtcEnableStatus = dtcEnableStatus;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
