package com.newvideo.domain;
|
|
import com.google.gson.annotations.Expose;
|
import javax.persistence.Entity;
|
import javax.persistence.ManyToOne;
|
|
@Entity
|
public class WXAd {
|
@Expose
|
private String id;
|
@Expose
|
private String imageUrl;
|
@Expose
|
private String link;
|
private String beizhu;
|
private String createtime;
|
@ManyToOne
|
private AdminInfo admin;
|
@Expose
|
private String icon;
|
@Expose
|
private String content;
|
|
|
|
@ManyToOne
|
private SystemInfo system;
|
|
public SystemInfo getSystem() {
|
return system;
|
}
|
|
public void setSystem(SystemInfo system) {
|
this.system = system;
|
}
|
|
public WXAd() {
|
}
|
|
public WXAd(String id) {
|
this.id = id;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getImageUrl() {
|
return imageUrl;
|
}
|
|
public void setImageUrl(String imageUrl) {
|
this.imageUrl = imageUrl;
|
}
|
|
public String getLink() {
|
return link;
|
}
|
|
public void setLink(String link) {
|
this.link = link;
|
}
|
|
public String getBeizhu() {
|
return beizhu;
|
}
|
|
public void setBeizhu(String beizhu) {
|
this.beizhu = beizhu;
|
}
|
|
public String getCreatetime() {
|
return createtime;
|
}
|
|
public void setCreatetime(String createtime) {
|
this.createtime = createtime;
|
}
|
|
public AdminInfo getAdmin() {
|
return admin;
|
}
|
|
public void setAdmin(AdminInfo admin) {
|
this.admin = admin;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
}
|