package com.sqx.modules.errand.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 短信统计查询dto
 */
@Data
@ApiModel("SmsCountQueryDTO")
public class SmsCountQueryDTO {

    @ApiModelProperty("发送人电话")
    private String fromTo;

    @ApiModelProperty("查询开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ApiModelProperty("查询结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
