package com.yuchen.saas.parking.api.dto;

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

import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2023/7/14 15:56
 * @Description 停车场收入趋势统计查询参数
 */
@Data
public class ParkingIncomeTrendQueryDTO {

    /**
     *  运营商ID
     */
    @NotNull(message = "运营商ID")
    @ApiModelProperty(name = "deptId", value = "运营商ID")
    private Long deptId;

    /**
     *  停车场ID
     */
    @NotNull(message = "停车场ID")
    @ApiModelProperty(name = "parkingId", value = "停车场ID")
    private Long parkingId;

    /**
     * 统计类型(1:按天 2:按时)
     */
    @ApiModelProperty(name = "type", value = "统计类型(1:按天 2:按时)")
    private Integer type;

    /**
     * 开始日期
     */
    @ApiModelProperty(name = "beginTime", value = "开始日期")
    private String beginTime;

    /**
     * 结束日期
     */
    @ApiModelProperty(name = "endTime", value = "结束日期")
    private String endTime;


    /**
     * 时间截取长度
     */
    @ApiModelProperty(name = "length", value = "时间截取长度")
    private Integer length;
}
