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;
|
}
|
|
}
|