package com.doumee.dao.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 门店营收查询请求
|
*
|
* @Author : Rk
|
* @create 2026/05/15
|
*/
|
@Data
|
@ApiModel("门店营收查询请求")
|
public class ShopRevenueQueryDTO implements Serializable {
|
|
@ApiModelProperty(value = "开始日期", example = "2026-01-01")
|
@NotNull(message = "开始日期不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date startDate;
|
|
@ApiModelProperty(value = "结束日期", example = "2026-12-31")
|
@NotNull(message = "结束日期不能为空")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date endDate;
|
}
|