package org.dromara.mall.trade.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.mall.trade.domain.MallOrderCoupon;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单优惠券使用记录视图对象 mall_order_coupon
 *
 * @author pengles
 */
@Data
@AutoMapper(target = MallOrderCoupon.class)
public class MallOrderCouponVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 订单ID
     */
    private Long orderId;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 优惠券ID
     */
    private Long couponId;

    /**
     * 用户优惠券ID
     */
    private Long couponUserId;

    /**
     * 优惠金额(分)
     */
    private Integer discountAmount;

    /**
     * 使用时间
     */
    private Date createTime;

}
