package com.zksy.manhole.dto.in;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 周度/月度趋势分析-入参
 *
 * @author xianggx
 */
@Data
@ApiModel(value = "周度/月度趋势分析-入参", description = "周度/月度趋势分析-入参")
public class MaintenanceDataStatTrendInDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "趋势类型：1-周度 2-月度", required = true)
    private Integer trendType;

    @ApiModelProperty(value = "统计开始日期", required = true)
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;

    @ApiModelProperty(value = "统计结束日期", required = true)
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;

    @ApiModelProperty(value = "运维部门ID")
    private Long deptId;
}
