admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
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
package com.yeshi.fanli.entity.bus.user;
 
import com.google.gson.annotations.Expose;
import com.yeshi.fanli.dto.HongBao;
 
//包装hongbao
public class HongBaoExtra extends HongBao{
    
    @Expose
    private String picture;
    @Expose
    private String title;
    @Expose
    private String info;
    @Expose
    private boolean oState; //红包原状态
    
    public HongBaoExtra() {
    }
    
    public HongBaoExtra(HongBao hb) {
        this.setBeizhu(hb.getBeizhu());
        this.setCreatetime(hb.getCreatetime());
        this.setGetIp(hb.getGetIp());
        this.setGetTime(hb.getGetTime());
        this.setId(hb.getId());
        this.setMoney(hb.getMoney());
        this.setParam(hb.getParam());
        this.setPreGettime(hb.getPreGettime());
        this.setType(hb.getType());
        this.setState(hb.getState());
        this.setUserInfo(hb.getUserInfo());
    }
    
    
    public boolean isoState() {
        return oState;
    }
 
    public void setoState(boolean oState) {
        this.oState = oState;
    }
 
    public String getPicture() {
        return picture;
    }
    public void setPicture(String picture) {
        this.picture = picture;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getInfo() {
        return info;
    }
    public void setInfo(String info) {
        this.info = info;
    }
    
}