84 lines
1.8 KiB
Java
84 lines
1.8 KiB
Java
package com.macro.mall.model;
|
|
|
|
import java.io.Serializable;
|
|
|
|
public class PmsAlbum implements Serializable {
|
|
private Long id;
|
|
|
|
private String name;
|
|
|
|
private String coverPic;
|
|
|
|
private Integer picCount;
|
|
|
|
private Integer sort;
|
|
|
|
private String description;
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getCoverPic() {
|
|
return coverPic;
|
|
}
|
|
|
|
public void setCoverPic(String coverPic) {
|
|
this.coverPic = coverPic;
|
|
}
|
|
|
|
public Integer getPicCount() {
|
|
return picCount;
|
|
}
|
|
|
|
public void setPicCount(Integer picCount) {
|
|
this.picCount = picCount;
|
|
}
|
|
|
|
public Integer getSort() {
|
|
return sort;
|
|
}
|
|
|
|
public void setSort(Integer sort) {
|
|
this.sort = sort;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(getClass().getSimpleName());
|
|
sb.append(" [");
|
|
sb.append("Hash = ").append(hashCode());
|
|
sb.append(", id=").append(id);
|
|
sb.append(", name=").append(name);
|
|
sb.append(", coverPic=").append(coverPic);
|
|
sb.append(", picCount=").append(picCount);
|
|
sb.append(", sort=").append(sort);
|
|
sb.append(", description=").append(description);
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
sb.append("]");
|
|
return sb.toString();
|
|
}
|
|
} |