package com.czg.order.param;

import com.alibaba.fastjson2.annotation.JSONField;
import com.czg.validator.group.DefaultGroup;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 数据统计-营业-产品销量
 *
 * @author tankaikai
 * @since 2025-03-07 15:35
 */
@Data
public class DataSummaryProductSaleParam implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 天数
     */
    @NotNull(message = "天数不能为空", groups = DefaultGroup.class)
    private Integer day;
    /**
     * 天数列表
     */
    @JSONField(serialize = false)
    private List<String> days;
    /**
     * 店铺id
     */
    private Long shopId;
    /**
     * 开始日期
     */
    @JSONField(serialize = false)
    private String beginDate;
    /**
     * 结束日期
     */
    @JSONField(serialize = false)
    private String endDate;

}
