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;
@@ -117,7 +117,60 @@
    @TableField("update_user_id")
    private Long updateUserId;
    /**
     * 优惠券来源1平台2商户
     */
    @TableField("coupon_from")
    private Integer couponFrom;
    /**
     * 商户id
     */
    @TableField("shop_id")
    private Long shopId;
    /**
     * 关联商品ids
     */
    @TableField("rel_goods_ids")
    private String relGoodsIds;
    /**
     * 审核状态1申请中2审核通过3审核拒绝
     */
    @TableField("audit_status")
    private Integer auditStatus;
    /**
     * 审核理由
     */
    @TableField("audit_reason")
    private String auditReason;
    /**
     * 关联类型1.用户管理筛选2.活动管理筛选
     */
    @TableField("relation_type")
    private Integer relationType;
    /**
     * 关联活动类型1.秒杀活动
     */
    @TableField("relation_activity_type")
    private Integer relationActivityType;
    /**
     * 关联活动id
     */
    @TableField("relation_activity_id")
    private String relationActivityId;
    /**
     * 领取限制数量
     */
    @TableField("limit_number")
    private Integer limitNumber;
    @Override
    protected Serializable pkVal() {
        return this.couponId;