package com.zhongshu.card.client.model.payment.statistic;

import com.zhongshu.card.client.type.StatisticType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商户首页统计
 *
 * @author TRX
 * @date 2024/6/17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StatisticSearch {

    @Schema(description = "是否查询所有的商户")
    private Boolean isAllBusinessMain = Boolean.TRUE;

    @Schema(description = "商户oid，当isAllBusinessMain=false，传入该值")
    private String shopOid;

    @Schema(description = "统计类型，按年、月、周")
    private StatisticType statisticType = StatisticType.Month;

}
