jiangqs
2023-06-16 ae41759bafec1c2a1e8858fcdcda4272ed4eb84c
ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/domain/pojo/coupon/Coupon.java
@@ -89,7 +89,7 @@
    @TableField("use_scope")
    private Integer useScope;
    /**
     * 有效期类型
     * 有效期类型1.时间段2.领取之日起
     */
    @TableField("valid_time_type")
    private Integer validTimeType;
@@ -121,37 +121,43 @@
     * 优惠券来源1平台2商户
     */
    @TableField("coupon_from")
    private Integer coupon_from;
    private Integer couponFrom;
    /**
     * 商户id
     */
    @TableField("shop_id")
    private Long shop_id;
    private Long shopId;
    /**
     * 关联商品ids
     */
    @TableField("rel_goods_ids")
    private String rel_goods_ids;
    private String relGoodsIds;
    /**
     * 审核状态1申请中2审核通过3审核拒绝
     */
    @TableField("audit_status")
    private Integer audit_status;
    private Integer auditStatus;
    /**
     * 审核理由
     */
    @TableField("audit_reason")
    private String audit_reason;
    private String auditReason;
    /**
     * 关联类型
     * 关联类型1.用户管理筛选2.活动管理筛选
     */
    @TableField("relation_type")
    private Integer relationType;
    /**
     * 关联活动类型1.秒杀活动
     */
    @TableField("relation_activity_type")
    private Integer relationActivityType;
    /**
     * 关联活动id
@@ -159,6 +165,12 @@
    @TableField("relation_activity_id")
    private String relationActivityId;
    /**
     * 领取限制数量
     */
    @TableField("limit_number")
    private Integer limitNumber;
    @Override
    protected Serializable pkVal() {
        return this.couponId;