admin
2021-04-16 6e365a48a83e628759df3a5f25b3db97009c9f26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
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;
    }
}