package com.yeshi.buwan.vo.goldcorn;
|
|
import com.ks.goldcorn.pojo.DO.GoldCornGetSource;
|
import com.yeshi.buwan.domain.jump.JumpDetail;
|
|
public class GoldCornTaskVO {
|
|
private String icon;
|
private String title;
|
private String goldCorn;
|
private String desc;
|
private String actionName;
|
private JumpDetail jumpDetail;
|
private String params;
|
private boolean enable;
|
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public String getGoldCorn() {
|
return goldCorn;
|
}
|
|
public void setGoldCorn(String goldCorn) {
|
this.goldCorn = goldCorn;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public String getActionName() {
|
return actionName;
|
}
|
|
public void setActionName(String actionName) {
|
this.actionName = actionName;
|
}
|
|
public JumpDetail getJumpDetail() {
|
return jumpDetail;
|
}
|
|
public void setJumpDetail(JumpDetail jumpDetail) {
|
this.jumpDetail = jumpDetail;
|
}
|
|
public String getParams() {
|
return params;
|
}
|
|
public void setParams(String params) {
|
this.params = params;
|
}
|
|
public boolean isEnable() {
|
return enable;
|
}
|
|
public void setEnable(boolean enable) {
|
this.enable = enable;
|
}
|
|
public static GoldCornTaskVO create(GoldCornGetSource source) {
|
GoldCornTaskVO vo = new GoldCornTaskVO();
|
vo.setActionName("去看看");
|
vo.setDesc(source.getSourceDesc());
|
vo.setEnable(true);
|
vo.setIcon(source.getIcon());
|
vo.setTitle(source.getSourceName());
|
vo.setGoldCorn("+" + source.getGoldCorn() );
|
return vo;
|
}
|
}
|