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

import lombok.Data;

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

/**
 * 场景优惠券配置响应（包含优惠券详情）
 */
@Data
public class SceneCouponConfigResp {

    // ========== 配置信息 ==========

    private Long id;

    private String sceneKey;

    private Long couponId;

    private Long scenicId;

    private Integer enabled;

    private Integer sortOrder;

    private Date createTime;

    private Date updateTime;

    // ========== 关联的优惠券信息 ==========

    /**
     * 优惠券名称
     */
    private String couponName;

    /**
     * 优惠券类型 (PERCENTAGE/FIXED_AMOUNT)
     */
    private String couponType;

    /**
     * 优惠值
     */
    private BigDecimal discountValue;

    /**
     * 优惠券是否启用
     */
    private Boolean couponActive;

    /**
     * 优惠券有效期起始
     */
    private Date couponValidFrom;

    /**
     * 优惠券有效期结束
     */
    private Date couponValidUntil;
}
