Commit 98849a92 by 郑永强

早晚报加字段

parent ab5f9095
...@@ -41,6 +41,9 @@ public class AdNews extends BaseEntity { ...@@ -41,6 +41,9 @@ public class AdNews extends BaseEntity {
@ApiModelProperty("是否禁用") @ApiModelProperty("是否禁用")
private Boolean hasBan ; private Boolean hasBan ;
@ApiModelProperty("公众号")
private String wechatName;
public String getType() { public String getType() {
return type; return type;
} }
...@@ -113,6 +116,14 @@ public class AdNews extends BaseEntity { ...@@ -113,6 +116,14 @@ public class AdNews extends BaseEntity {
this.hasBan = hasBan; this.hasBan = hasBan;
} }
public String getWechatName() {
return wechatName;
}
public void setWechatName(String wechatName) {
this.wechatName = wechatName;
}
@Override @Override
public String toString() { public String toString() {
return "AdNews{" + return "AdNews{" +
...@@ -125,8 +136,7 @@ public class AdNews extends BaseEntity { ...@@ -125,8 +136,7 @@ public class AdNews extends BaseEntity {
", newsDate='" + newsDate + '\'' + ", newsDate='" + newsDate + '\'' +
", hasUsed=" + hasUsed + ", hasUsed=" + hasUsed +
", hasBan=" + hasBan + ", hasBan=" + hasBan +
", createTime=" + createTime + ", wechatName='" + wechatName + '\'' +
", updateTime=" + updateTime +
'}'; '}';
} }
} }
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
a.id id a.id id
,a.type type ,a.type type
,a.news_from newsFrom ,a.news_from newsFrom
,b.wechat_name wechatName
,a.title title ,a.title title
,a.publisher publisher ,a.publisher publisher
,a.url url ,a.url url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment