Stripe推广码 部分功能完善
This commit is contained in:
@@ -3,10 +3,12 @@ package com.ai.da.mapper.primary.entity;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
@TableName("t_product_coupons")
|
||||
@NoArgsConstructor
|
||||
public class ProductCoupons extends BaseEntity{
|
||||
// 优惠券id
|
||||
private String couponId;
|
||||
@@ -35,16 +37,15 @@ public class ProductCoupons extends BaseEntity{
|
||||
// 备注
|
||||
private String remark;
|
||||
|
||||
public ProductCoupons() {
|
||||
}
|
||||
|
||||
public ProductCoupons(String couponId, Long redeemBy, String promotionCodeId, String promotionCode, Long maxRedemptions, float percentOff, float commissionRate) {
|
||||
public ProductCoupons(String couponId, Long redeemBy, String promotionCodeId, String promotionCode, Long maxRedemptions, float percentOff, float commissionRate, String cooperator, String remark) {
|
||||
this.couponId = couponId;
|
||||
this.redeemBy = redeemBy;
|
||||
this.promotionCodeId = promotionCodeId;
|
||||
this.promotionCode = promotionCode;
|
||||
this.maxRedemptions = maxRedemptions;
|
||||
this.percentOff = percentOff;
|
||||
this.cooperator = cooperator;
|
||||
this.remark = remark;
|
||||
this.commissionRate = commissionRate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user