Commit 98849a92 by 郑永强

早晚报加字段

parent ab5f9095
......@@ -41,6 +41,9 @@ public class AdNews extends BaseEntity {
@ApiModelProperty("是否禁用")
private Boolean hasBan ;
@ApiModelProperty("公众号")
private String wechatName;
public String getType() {
return type;
}
......@@ -113,6 +116,14 @@ public class AdNews extends BaseEntity {
this.hasBan = hasBan;
}
public String getWechatName() {
return wechatName;
}
public void setWechatName(String wechatName) {
this.wechatName = wechatName;
}
@Override
public String toString() {
return "AdNews{" +
......@@ -125,8 +136,7 @@ public class AdNews extends BaseEntity {
", newsDate='" + newsDate + '\'' +
", hasUsed=" + hasUsed +
", hasBan=" + hasBan +
", createTime=" + createTime +
", updateTime=" + updateTime +
", wechatName='" + wechatName + '\'' +
'}';
}
}
......@@ -129,6 +129,7 @@
a.id id
,a.type type
,a.news_from newsFrom
,b.wechat_name wechatName
,a.title title
,a.publisher publisher
,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