hasMany('user_coupon_type', 'id', 'coupon_id') ->where('status', 1); } }