package com.ycwl.basic.pricing.dto.resp;

import com.ycwl.basic.pricing.enums.ProductType;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class VoucherBatchResp {
    private Long id;
    private String batchName;
    private Long scenicId;
    private Long brokerId;
    private Integer discountType;
    private String discountTypeName;
    private BigDecimal discountValue;
    private Integer totalCount;
    private Integer usedCount;
    private Integer claimedCount;
    private Integer availableCount;
    private Integer status;
    private String statusName;
    private Date createTime;
    private Long createBy;
    
    /**
     * 适用商品类型列表
     * null表示适用所有商品类型
     */
    private List<ProductType> applicableProducts;
    
    /**
     * 有效期开始时间
     */
    private Date validStartTime;
    
    /**
     * 有效期结束时间
     */
    private Date validEndTime;
}