package com.haha.entity.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

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

    private String activityName;

    private Integer activityType;

    private String activityDesc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private BigDecimal discountValue;

    private BigDecimal minAmount;

    private BigDecimal maxDiscount;

    private Integer applyScope;

    private Integer deviceScope;

    private Integer productScope;

    private BigDecimal totalBudget;

    private List<Long> shopIds;

    private List<String> deviceIds;

    private List<Long> productIds;
}
