| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- package com.kym.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.kym.entity.BaseEntity;
- import lombok.Getter;
- import lombok.Setter;
- import lombok.experimental.Accessors;
- /**
- * <p>
- * 订单优惠券关联表
- * </p>
- *
- * @author skyline
- * @since 2024-06-02
- */
- @Getter
- @Setter
- @TableName("t_order_coupon")
- @Accessors(chain = true)
- public class OrderCoupon extends BaseEntity {
- private static final long serialVersionUID = 1L;
- public static final int STATUS_未知 = 0;
- public static final int STATUS_使用成功 = 1;
- public static final int STATUS_使用失败 = 2;
- /**
- * 优惠券id
- */
- private Long couponId;
- /**
- * 主活动id
- */
- private Long activityId;
- /**
- * 用户优惠券id
- */
- private Long userCouponId;
- /**
- * 用户id
- */
- private Long userId;
- /**
- * 充电订单号
- */
- private String startChargeSeq;
- /**
- * 券种:Discount折扣券、FullDiscount满减券
- */
- private String couponType;
- /**
- * 折扣:100代表无折扣,75代表75折;折扣金额(分)
- */
- private Integer discount;
- /**
- * 总优惠金额(分)
- */
- private Integer discountAmount;
- /**
- * 状态
- */
- private Integer status;
- }
|