package com.yeshi.fanli.util.factory; import java.util.List; import com.yeshi.fanli.entity.bus.activity.RecommendActivity; import com.yeshi.fanli.entity.bus.activity.RecommendActivityTaoBaoGoods; public class RecommendActivityFactory { public static RecommendActivity createShareGoodsActivity(String title, List goodsList) { RecommendActivity recommendActivity = new RecommendActivity(); recommendActivity.setTitle(title); recommendActivity.setGoodsList(goodsList); recommendActivity.setTop(false); return recommendActivity; } }