package com.yuchen.saas.park.api.dto.fire.inspect.plan;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zhouhanwei
 * @create 2024/9/19 15:15
 */
@Data
public class FireInspectTaskStatisticsReqDTO {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;

    /**
     * 分组类型(1:项目分组，2：计划，3：巡检人员分组，4：巡检类型)
     */
    private Integer groupType = 1;

    /**
     * 任务开始日期
     */
    @ApiModelProperty(name = "taskStartDate", value = "任务开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date taskStartDate;

    /**
     * 任务结束日期
     */
    @ApiModelProperty(name = "taskEndDate", value = "任务日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date taskEndDate;

}
