Browse Source

回收修改

jin 1 month ago
parent
commit
9560561ebb
1 changed files with 5 additions and 71 deletions
  1. 5 71
      ruoyi-wx/src/main/java/com/ruoyi/wx/web/domain/vo/WxUserVo.java

+ 5 - 71
ruoyi-wx/src/main/java/com/ruoyi/wx/web/domain/vo/WxUserVo.java

@@ -3,9 +3,12 @@ package com.ruoyi.wx.web.domain.vo;
 
 
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ruoyi.common.annotation.Excel;
 import com.ruoyi.common.annotation.Excel;
+import lombok.Data;
 
 
+import java.time.LocalDate;
 import java.util.Date;
 import java.util.Date;
 
 
+@Data
 public class WxUserVo {
 public class WxUserVo {
     /** 用户名称 */
     /** 用户名称 */
     @Excel(name = "用户名称")
     @Excel(name = "用户名称")
@@ -30,80 +33,11 @@ public class WxUserVo {
     /** 会员开始充值时间 */
     /** 会员开始充值时间 */
     @JsonFormat(pattern = "yyyy-MM-dd")
     @JsonFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "会员开始充值时间", width = 30, dateFormat = "yyyy-MM-dd")
     @Excel(name = "会员开始充值时间", width = 30, dateFormat = "yyyy-MM-dd")
-    private Date vipStartTime;
+    private LocalDate vipStartTime;
 
 
     /** 会员结束时间 */
     /** 会员结束时间 */
     @JsonFormat(pattern = "yyyy-MM-dd")
     @JsonFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "会员结束时间", width = 30, dateFormat = "yyyy-MM-dd")
     @Excel(name = "会员结束时间", width = 30, dateFormat = "yyyy-MM-dd")
-    private Date vipEndTime;
+    private LocalDate vipEndTime;
 
 
-    public String getUsername() {
-        return username;
-    }
-
-    public void setUsername(String username) {
-        this.username = username;
-    }
-
-    public Long getUserLevel() {
-        return userLevel;
-    }
-
-    public void setUserLevel(Long userLevel) {
-        this.userLevel = userLevel;
-    }
-
-    public Long getGender() {
-        return gender;
-    }
-
-    public void setGender(Long gender) {
-        this.gender = gender;
-    }
-
-    public String getWxOpenid() {
-        return wxOpenid;
-    }
-
-    public void setWxOpenid(String wxOpenid) {
-        this.wxOpenid = wxOpenid;
-    }
-
-    public Long getPoints() {
-        return points;
-    }
-
-    public void setPoints(Long points) {
-        this.points = points;
-    }
-
-    public Date getVipStartTime() {
-        return vipStartTime;
-    }
-
-    public void setVipStartTime(Date vipStartTime) {
-        this.vipStartTime = vipStartTime;
-    }
-
-    public Date getVipEndTime() {
-        return vipEndTime;
-    }
-
-    public void setVipEndTime(Date vipEndTime) {
-        this.vipEndTime = vipEndTime;
-    }
-
-    @Override
-    public String toString() {
-        final StringBuffer sb = new StringBuffer("WxUserVo{");
-        sb.append("username='").append(username).append('\'');
-        sb.append(", userLevel=").append(userLevel);
-        sb.append(", gender=").append(gender);
-        sb.append(", wxOpenid='").append(wxOpenid).append('\'');
-        sb.append(", points=").append(points);
-        sb.append(", vipStartTime=").append(vipStartTime);
-        sb.append(", vipEndTime=").append(vipEndTime);
-        sb.append('}');
-        return sb.toString();
-    }
 }
 }