package com.sundot.airport.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 排班计划生成请求参数对象
 *
 * @author wangxx
 * @date 2026-01-23
 */
public class DutyScheduleGenerateReq {

    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;

    /**
     * 开始部门ID
     */
    private Long startDeptId;

    /**
     * 部门列表，逗号分隔的部门ID
     */
    private String deptIds;

    /**
     * 班次安排，格式：9-17,17-9 或 9-9(跨天)
     */
    private String shifts;

    /**
     * 生成天数（默认365天）
     */
    private Integer daysToGenerate = 365;

    /**
     * 站级部门ID
     */
    private Long stationId;

    public Date getStartDate() {
        return startDate;
    }

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

    public Long getStartDeptId() {
        return startDeptId;
    }

    public void setStartDeptId(Long startDeptId) {
        this.startDeptId = startDeptId;
    }

    public String getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(String deptIds) {
        this.deptIds = deptIds;
    }

    public String getShifts() {
        return shifts;
    }

    public void setShifts(String shifts) {
        this.shifts = shifts;
    }

    public Integer getDaysToGenerate() {
        return daysToGenerate;
    }

    public void setDaysToGenerate(Integer daysToGenerate) {
        this.daysToGenerate = daysToGenerate;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }
}