package com.haha.entity.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class CouponCreateDTO extends PageQueryDTO {

    private String couponName;

    private Integer couponType;

    private String couponDesc;

    private BigDecimal discountValue;

    private BigDecimal minAmount;

    private BigDecimal maxDiscount;

    private Integer totalCount;

    private Integer receiveLimit;

    private Integer validType;

    private LocalDateTime validStartTime;

    private LocalDateTime validEndTime;

    private Integer validDays;

    private Integer applyScope;

    private Integer productScope;

    private Long activityId;

    private String receiveType; // 发放类型：Collect-主动领取，Release-系统发放

    private List<Long> shopIds;

    private List<Long> productIds;
}
