package com.tzy.common.dto.act;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * @Classname ActCountParam
 * @Description 活动限流参数
 * @Date 2024/3/5 15:52
 * @Created by Administrator
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
public class ActCountParam implements Serializable {
    /**活动id*/
    private Integer actId;
    /**是否仅查询当日*/
    private boolean curDay;
    /**开始时间范围,小时,0-23*/
    private Integer startHour;
    /**截止时间范围,小时,1-24*/
    private Integer endHour;
    /**关联来源id*/
    private Integer refId;
    private Integer userId;
    private Integer shareUserId;
    /**活动类型*/
    private String actType;
    //是否包含分享参与
    private boolean excludeShare;
    //仅查询分享
    private boolean onlyShare;
    //用户邀请和被邀请
    private boolean userAndShare;

    private String shareCode;

    private String prizeImg;

    private List<Long> actIds;
    /**id*/
    private Integer id;
    /**拼团id*/
    private Integer groupInfoId;
    private Date startTime;
    private Date endTime;
    /**奖品类型*/
    private String prizeType;
    public ActCountParam(Integer actId, boolean curDay) {
        this.actId = actId;
        this.curDay = curDay;
    }
}
