package com.zhongzheng.modules.order.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.zhongzheng.common.annotation.Excel;

/**
 * 订单优惠券 对象 order_coupon
 *
 * @author ruoyi
 * @date 2021-07-01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("order_coupon")
public class OrderCoupon implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;

    /** 订单sn */
    private String orderSn;

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

    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    private Long createTime;

    /** 修改时间 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateTime;

    /** 活动名 */
    @TableField(exist = false)
    private String activityName;

    /** 金额 */
    @TableField(exist = false)
    private BigDecimal price;

    /** 优惠券类型 */
    @TableField(exist = false)
    private Integer couponType;

}
