package com.zioinfo.mall.promotion;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/** 쿠폰 (mall_coupon). discountType: RATE(%) / AMOUNT(원). */
@Data
public class MallCoupon {
    private Long id;
    private String code;
    private String name;
    private String discountType;
    private BigDecimal discountValue;
    private BigDecimal minOrderAmount;
    private BigDecimal maxDiscount;
    private LocalDate validFrom;
    private LocalDate validTo;
    private Integer issuedLimit;
    private Integer issuedCount;
    private Boolean active;
}
