package com.ycwl.basic.model.pc.couponRecord.resp;

import com.ycwl.basic.model.pc.coupon.entity.CouponEntity;
import lombok.Data;

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

@Data
public class CouponRecordQueryResp {
    private boolean exist = false;
    private Integer id;
    private Long scenicId;
    private Integer couponId;
    private Long memberId;
    private Long faceId;
    private Integer status;
    private Date createTime;
    private Date usedTime;
    private Long usedOrderId;
    private CouponEntity coupon;

    public boolean isUsable() {
        return Integer.valueOf(0).equals(status);
    }
}
