xueyiming před 9 měsíci
rodič
revize
d5169b596f

+ 5 - 72
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/repository/model/GhDetail.java

@@ -1,7 +1,12 @@
 package com.tzld.longarticle.recommend.server.repository.model;
 
+import lombok.Data;
+import lombok.ToString;
+
 import java.util.Date;
 
+@Data
+@ToString
 public class GhDetail {
     private Long id;
 
@@ -20,76 +25,4 @@ public class GhDetail {
     private Date createTime;
 
     private Date updateTime;
-
-    public Long getId() {
-        return id;
-    }
-
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    public String getGhId() {
-        return ghId;
-    }
-
-    public void setGhId(String ghId) {
-        this.ghId = ghId == null ? null : ghId.trim();
-    }
-
-    public String getGhName() {
-        return ghName;
-    }
-
-    public void setGhName(String ghName) {
-        this.ghName = ghName == null ? null : ghName.trim();
-    }
-
-    public Integer getType() {
-        return type;
-    }
-
-    public void setType(Integer type) {
-        this.type = type;
-    }
-
-    public String getCategory1() {
-        return category1;
-    }
-
-    public void setCategory1(String category1) {
-        this.category1 = category1 == null ? null : category1.trim();
-    }
-
-    public String getCategory2() {
-        return category2;
-    }
-
-    public void setCategory2(String category2) {
-        this.category2 = category2 == null ? null : category2.trim();
-    }
-
-    public Integer getIsDelete() {
-        return isDelete;
-    }
-
-    public void setIsDelete(Integer isDelete) {
-        this.isDelete = isDelete;
-    }
-
-    public Date getCreateTime() {
-        return createTime;
-    }
-
-    public void setCreateTime(Date createTime) {
-        this.createTime = createTime;
-    }
-
-    public Date getUpdateTime() {
-        return updateTime;
-    }
-
-    public void setUpdateTime(Date updateTime) {
-        this.updateTime = updateTime;
-    }
 }