515 lines
9.7 KiB
Plaintext
515 lines
9.7 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
//导入 java 类
|
|
import java.io.Serializable;
|
|
import java.util.*;
|
|
import org.apache.commons.lang.builder.EqualsBuilder;
|
|
|
|
/**
|
|
* GreenReport的POJO类
|
|
*
|
|
* @author wjx
|
|
*/
|
|
public class GreenReport implements Serializable{
|
|
/**
|
|
* 序列化
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 属性id
|
|
*/
|
|
private Long id = Long.valueOf("0");
|
|
|
|
/**
|
|
* 属性title
|
|
*/
|
|
private String title;
|
|
|
|
/**
|
|
* 属性content
|
|
*/
|
|
private String content;
|
|
|
|
/**
|
|
* 属性isEvaluate
|
|
*/
|
|
private Integer isEvaluate = 0;
|
|
|
|
/**
|
|
* 属性replyContent
|
|
*/
|
|
private String replyContent;
|
|
|
|
/**
|
|
* 属性replyUser
|
|
*/
|
|
private String replyUser;
|
|
|
|
/**
|
|
* 属性replyDate
|
|
*/
|
|
private Date replyDate;
|
|
|
|
/**
|
|
* 属性createTime
|
|
*/
|
|
private Date createTime;
|
|
|
|
/**
|
|
* 属性createBy
|
|
*/
|
|
private String createBy;
|
|
|
|
/**
|
|
* 属性modifyTime
|
|
*/
|
|
private Date modifyTime;
|
|
|
|
/**
|
|
* 属性modifyBy
|
|
*/
|
|
private String modifyBy;
|
|
|
|
/**
|
|
* 属性isDelete
|
|
*/
|
|
private String isDelete = "N";
|
|
|
|
/**
|
|
* 属性reportType
|
|
*/
|
|
private Integer reportType = 0;
|
|
|
|
/**
|
|
* 属性reportStatus
|
|
*/
|
|
private Integer reportStatus = 0;
|
|
|
|
private String reportPic1;
|
|
private String reportPic1Data;
|
|
private String reportPic2;
|
|
private String reportPic2Data;
|
|
private String reportPic3;
|
|
private String reportPic3Data;
|
|
private String replyPic1;
|
|
private String replyPic1Data;
|
|
private String replyPic2;
|
|
private String replyPic2Data;
|
|
|
|
|
|
|
|
|
|
private Integer pageNum=0;
|
|
private Integer pageSize=10;
|
|
|
|
private String startDate;
|
|
private String endDate;
|
|
|
|
|
|
|
|
|
|
public String getStartDate() {
|
|
return startDate;
|
|
}
|
|
|
|
public void setStartDate(String startDate) {
|
|
this.startDate = startDate;
|
|
}
|
|
|
|
public String getEndDate() {
|
|
return endDate;
|
|
}
|
|
|
|
public void setEndDate(String endDate) {
|
|
this.endDate = endDate;
|
|
}
|
|
|
|
public String getReportPic1() {
|
|
return reportPic1;
|
|
}
|
|
|
|
public void setReportPic1(String reportPic1) {
|
|
this.reportPic1 = reportPic1;
|
|
}
|
|
|
|
public String getReportPic1Data() {
|
|
return reportPic1Data;
|
|
}
|
|
|
|
public void setReportPic1Data(String reportPic1Data) {
|
|
this.reportPic1Data = reportPic1Data;
|
|
}
|
|
|
|
public String getReportPic2() {
|
|
return reportPic2;
|
|
}
|
|
|
|
public void setReportPic2(String reportPic2) {
|
|
this.reportPic2 = reportPic2;
|
|
}
|
|
|
|
public String getReportPic2Data() {
|
|
return reportPic2Data;
|
|
}
|
|
|
|
public void setReportPic2Data(String reportPic2Data) {
|
|
this.reportPic2Data = reportPic2Data;
|
|
}
|
|
|
|
public String getReportPic3() {
|
|
return reportPic3;
|
|
}
|
|
|
|
public void setReportPic3(String reportPic3) {
|
|
this.reportPic3 = reportPic3;
|
|
}
|
|
|
|
public String getReportPic3Data() {
|
|
return reportPic3Data;
|
|
}
|
|
|
|
public void setReportPic3Data(String reportPic3Data) {
|
|
this.reportPic3Data = reportPic3Data;
|
|
}
|
|
|
|
public String getReplyPic1() {
|
|
return replyPic1;
|
|
}
|
|
|
|
public void setReplyPic1(String replyPic1) {
|
|
this.replyPic1 = replyPic1;
|
|
}
|
|
|
|
public String getReplyPic1Data() {
|
|
return replyPic1Data;
|
|
}
|
|
|
|
public void setReplyPic1Data(String replyPic1Data) {
|
|
this.replyPic1Data = replyPic1Data;
|
|
}
|
|
|
|
public String getReplyPic2() {
|
|
return replyPic2;
|
|
}
|
|
|
|
public void setReplyPic2(String replyPic2) {
|
|
this.replyPic2 = replyPic2;
|
|
}
|
|
|
|
public String getReplyPic2Data() {
|
|
return replyPic2Data;
|
|
}
|
|
|
|
public void setReplyPic2Data(String replyPic2Data) {
|
|
this.replyPic2Data = replyPic2Data;
|
|
}
|
|
|
|
public Integer getPageNum() {
|
|
return pageNum;
|
|
}
|
|
|
|
public void setPageNum(Integer pageNum) {
|
|
this.pageNum = pageNum;
|
|
}
|
|
|
|
public Integer getPageSize() {
|
|
return pageSize;
|
|
}
|
|
|
|
public void setPageSize(Integer pageSize) {
|
|
this.pageSize = pageSize;
|
|
}
|
|
|
|
/**
|
|
* GreenReport构造函数
|
|
*/
|
|
public GreenReport() {
|
|
super();
|
|
}
|
|
|
|
/**
|
|
* GreenReport完整的构造函数
|
|
*/
|
|
public GreenReport(Long id){
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* 属性 id 的get方法
|
|
* @return Long
|
|
*/
|
|
public Long getId(){
|
|
return id;
|
|
}
|
|
|
|
/**
|
|
* 属性 id 的set方法
|
|
* @return
|
|
*/
|
|
public void setId(Long id){
|
|
this.id = id;
|
|
}
|
|
|
|
/**
|
|
* 属性 标题 的get方法
|
|
* @return String
|
|
*/
|
|
public String getTitle(){
|
|
return title;
|
|
}
|
|
|
|
/**
|
|
* 属性 标题 的set方法
|
|
* @return
|
|
*/
|
|
public void setTitle(String title){
|
|
this.title = title;
|
|
}
|
|
|
|
/**
|
|
* 属性 content 的get方法
|
|
* @return String
|
|
*/
|
|
public String getContent(){
|
|
return content;
|
|
}
|
|
|
|
/**
|
|
* 属性 content 的set方法
|
|
* @return
|
|
*/
|
|
public void setContent(String content){
|
|
this.content = content;
|
|
}
|
|
|
|
/**
|
|
* 属性 评价次数 的get方法
|
|
* @return Integer
|
|
*/
|
|
public Integer getIsEvaluate(){
|
|
return isEvaluate;
|
|
}
|
|
|
|
/**
|
|
* 属性 评价次数 的set方法
|
|
* @return
|
|
*/
|
|
public void setIsEvaluate(Integer isEvaluate){
|
|
this.isEvaluate = isEvaluate;
|
|
}
|
|
|
|
/**
|
|
* 属性 回复内容 的get方法
|
|
* @return String
|
|
*/
|
|
public String getReplyContent(){
|
|
return replyContent;
|
|
}
|
|
|
|
/**
|
|
* 属性 回复内容 的set方法
|
|
* @return
|
|
*/
|
|
public void setReplyContent(String replyContent){
|
|
this.replyContent = replyContent;
|
|
}
|
|
|
|
/**
|
|
* 属性 回复人 的get方法
|
|
* @return String
|
|
*/
|
|
public String getReplyUser(){
|
|
return replyUser;
|
|
}
|
|
|
|
/**
|
|
* 属性 回复人 的set方法
|
|
* @return
|
|
*/
|
|
public void setReplyUser(String replyUser){
|
|
this.replyUser = replyUser;
|
|
}
|
|
|
|
/**
|
|
* 属性 回复时间 的get方法
|
|
* @return Date
|
|
*/
|
|
public Date getReplyDate(){
|
|
return replyDate;
|
|
}
|
|
|
|
/**
|
|
* 属性 回复时间 的set方法
|
|
* @return
|
|
*/
|
|
public void setReplyDate(Date replyDate){
|
|
this.replyDate = replyDate;
|
|
}
|
|
|
|
/**
|
|
* 属性 create_time 的get方法
|
|
* @return Date
|
|
*/
|
|
public Date getCreateTime(){
|
|
return createTime;
|
|
}
|
|
|
|
/**
|
|
* 属性 create_time 的set方法
|
|
* @return
|
|
*/
|
|
public void setCreateTime(Date createTime){
|
|
this.createTime = createTime;
|
|
}
|
|
|
|
/**
|
|
* 属性 create_by 的get方法
|
|
* @return String
|
|
*/
|
|
public String getCreateBy(){
|
|
return createBy;
|
|
}
|
|
|
|
/**
|
|
* 属性 create_by 的set方法
|
|
* @return
|
|
*/
|
|
public void setCreateBy(String createBy){
|
|
this.createBy = createBy;
|
|
}
|
|
|
|
/**
|
|
* 属性 modify_time 的get方法
|
|
* @return Date
|
|
*/
|
|
public Date getModifyTime(){
|
|
return modifyTime;
|
|
}
|
|
|
|
/**
|
|
* 属性 modify_time 的set方法
|
|
* @return
|
|
*/
|
|
public void setModifyTime(Date modifyTime){
|
|
this.modifyTime = modifyTime;
|
|
}
|
|
|
|
/**
|
|
* 属性 modify_by 的get方法
|
|
* @return String
|
|
*/
|
|
public String getModifyBy(){
|
|
return modifyBy;
|
|
}
|
|
|
|
/**
|
|
* 属性 modify_by 的set方法
|
|
* @return
|
|
*/
|
|
public void setModifyBy(String modifyBy){
|
|
this.modifyBy = modifyBy;
|
|
}
|
|
|
|
/**
|
|
* 属性 是否删除 Y删除 N未删除 的get方法
|
|
* @return String
|
|
*/
|
|
public String getIsDelete(){
|
|
return isDelete;
|
|
}
|
|
|
|
/**
|
|
* 属性 是否删除 Y删除 N未删除 的set方法
|
|
* @return
|
|
*/
|
|
public void setIsDelete(String isDelete){
|
|
this.isDelete = isDelete;
|
|
}
|
|
|
|
/**
|
|
* 属性 上报类型 0 咨询 1 投诉 的get方法
|
|
* @return Integer
|
|
*/
|
|
public Integer getReportType(){
|
|
return reportType;
|
|
}
|
|
|
|
/**
|
|
* 属性 上报类型 0 咨询 1 投诉 的set方法
|
|
* @return
|
|
*/
|
|
public void setReportType(Integer reportType){
|
|
this.reportType = reportType;
|
|
}
|
|
|
|
/**
|
|
* 属性 上报状态 0已上报 1已处理 的get方法
|
|
* @return Integer
|
|
*/
|
|
public Integer getReportStatus(){
|
|
return reportStatus;
|
|
}
|
|
|
|
/**
|
|
* 属性 上报状态 0已上报 1已处理 的set方法
|
|
* @return
|
|
*/
|
|
public void setReportStatus(Integer reportStatus){
|
|
this.reportStatus = reportStatus;
|
|
}
|
|
|
|
/**
|
|
* Hibernate通过该方法判断对象是否相等
|
|
* @return boolean
|
|
*/
|
|
public boolean equals(Object o) {
|
|
if (this == o)
|
|
return true;
|
|
|
|
if (o == null || !(o instanceof GreenReport))
|
|
return false;
|
|
|
|
|
|
GreenReport other = (GreenReport) o;
|
|
return new EqualsBuilder()
|
|
.append(this.getId(), other.getId())
|
|
.isEquals();
|
|
}
|
|
|
|
/**
|
|
* toString方法
|
|
* @return String
|
|
*/
|
|
public String toString(){
|
|
|
|
return new StringBuffer()
|
|
.append("id"+":"+getId())
|
|
.append("title"+":"+getTitle())
|
|
.append("content"+":"+getContent())
|
|
.append("isEvaluate"+":"+getIsEvaluate())
|
|
.append("replyContent"+":"+getReplyContent())
|
|
.append("replyUser"+":"+getReplyUser())
|
|
.append("replyDate"+":"+getReplyDate())
|
|
.append("createTime"+":"+getCreateTime())
|
|
.append("createBy"+":"+getCreateBy())
|
|
.append("modifyTime"+":"+getModifyTime())
|
|
.append("modifyBy"+":"+getModifyBy())
|
|
.append("isDelete"+":"+getIsDelete())
|
|
.append("reportType"+":"+getReportType())
|
|
.append("reportStatus"+":"+getReportStatus())
|
|
.toString();
|
|
|
|
}
|
|
|
|
|
|
/**
|
|
* hashcode方法
|
|
* @return int
|
|
*
|
|
*/
|
|
@Override
|
|
public int hashCode(){
|
|
return super.hashCode();
|
|
}
|
|
|
|
} |