mitao
2025-01-17 afa0dbb4f54e7244835dd67ec33c3e545f122f71
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/domain/poji/member/MemberCoupon.java
@@ -23,13 +23,13 @@
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_coupon")
@TableName("t_member_coupon")
public class MemberCoupon extends Model<MemberCoupon> {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id")
    private String id;
    private Long id;
    /**
     * 删除标记
     */
@@ -64,10 +64,15 @@
    @TableField("coupon_name")
    private String couponName;
    /**
     * 发送类型1.手动领取2.全部用户3.会员用户4非会员用户5自定义
     * 发送类型1.手动领取2.指定发放
     */
    @TableField("send_type")
    private Integer sendType;
    /**
     * 发送对象2.全部用户3.会员用户4非会员用户5自定义
     */
    @TableField("send_target")
    private Integer sendTarget;
    /**
     * 发送时间类型1立即2定时
     */
@@ -137,6 +142,12 @@
    @TableField("rel_goods_ids")
    private String relGoodsIds;
    /**
     * 优惠券来源1平台2商户
     */
    @TableField("coupon_from")
    private Integer couponFrom;
    @Override
    protected Serializable pkVal() {
        return this.id;