102 lines
1.8 KiB
Plaintext
102 lines
1.8 KiB
Plaintext
|
|
package com.bonus.sys.beans;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @Author 无畏
|
||
|
|
* @Date 2019-06-11
|
||
|
|
* @Table
|
||
|
|
* @Model 图片展示类
|
||
|
|
*/
|
||
|
|
public class ViewImgBean {
|
||
|
|
|
||
|
|
private String title = "";
|
||
|
|
|
||
|
|
private Integer id = 0;
|
||
|
|
|
||
|
|
private Integer start = 0;
|
||
|
|
|
||
|
|
private Integer pid = 0;
|
||
|
|
|
||
|
|
private String alt = "";
|
||
|
|
|
||
|
|
private String src = "";
|
||
|
|
|
||
|
|
private String thumb = "";
|
||
|
|
|
||
|
|
private List<ViewImgBean> data;
|
||
|
|
|
||
|
|
public String allToString() {
|
||
|
|
return "{\"title\":\"" + title + "\", \"id\":" + id + ", \"start\":" + start + ", \"data\":" + data + "}";
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
return "{\"pid\":" + pid + ", \"alt\":\"" + alt + "\", \"src\":\"" + src + "\", \"thumb\":\"" + thumb + "\"}";
|
||
|
|
}
|
||
|
|
|
||
|
|
public Integer getPid() {
|
||
|
|
return pid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setPid(Integer pid) {
|
||
|
|
this.pid = pid;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getAlt() {
|
||
|
|
return alt;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAlt(String alt) {
|
||
|
|
this.alt = alt;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getSrc() {
|
||
|
|
return src;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setSrc(String src) {
|
||
|
|
this.src = src;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getThumb() {
|
||
|
|
return thumb;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setThumb(String thumb) {
|
||
|
|
this.thumb = thumb;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getTitle() {
|
||
|
|
return title;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTitle(String title) {
|
||
|
|
this.title = title;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Integer getId() {
|
||
|
|
return id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId(Integer id) {
|
||
|
|
this.id = id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Integer getStart() {
|
||
|
|
return start;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setStart(Integer start) {
|
||
|
|
this.start = start;
|
||
|
|
}
|
||
|
|
|
||
|
|
public List<ViewImgBean> getData() {
|
||
|
|
return data;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setData(List<ViewImgBean> data) {
|
||
|
|
this.data = data;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|