admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/entity/bus/user/HongBaoExtra.java
@@ -1,63 +1,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;
   }
}
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;
   }
}