166 lines
4.7 KiB
Java
166 lines
4.7 KiB
Java
|
|
package com.rzyc.model;
|
||
|
|
|
||
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
|
import io.swagger.annotations.ApiModel;
|
||
|
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @author
|
||
|
|
*/
|
||
|
|
@ApiModel("法规章节内容")
|
||
|
|
public class SysStatuteDesc implements Serializable {
|
||
|
|
/**
|
||
|
|
* 法规详情id
|
||
|
|
*/
|
||
|
|
@ApiModelProperty("法规详情id")
|
||
|
|
private String descId;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 法规id
|
||
|
|
*/
|
||
|
|
@ApiModelProperty("法规id")
|
||
|
|
private String statuteId;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 修改人
|
||
|
|
*/
|
||
|
|
private String modified;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 创建人
|
||
|
|
*/
|
||
|
|
private String created;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 修改时间
|
||
|
|
*/
|
||
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||
|
|
private Date modifyTime;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 创建时间
|
||
|
|
*/
|
||
|
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||
|
|
private Date createTime;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 法规内容
|
||
|
|
*/
|
||
|
|
@ApiModelProperty("法规内容")
|
||
|
|
private String content;
|
||
|
|
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
public String getDescId() {
|
||
|
|
return descId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setDescId(String descId) {
|
||
|
|
this.descId = descId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getStatuteId() {
|
||
|
|
return statuteId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setStatuteId(String statuteId) {
|
||
|
|
this.statuteId = statuteId;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getModified() {
|
||
|
|
return modified;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setModified(String modified) {
|
||
|
|
this.modified = modified;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getCreated() {
|
||
|
|
return created;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCreated(String created) {
|
||
|
|
this.created = created;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getModifyTime() {
|
||
|
|
return modifyTime;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setModifyTime(Date modifyTime) {
|
||
|
|
this.modifyTime = modifyTime;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getCreateTime() {
|
||
|
|
return createTime;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setCreateTime(Date createTime) {
|
||
|
|
this.createTime = createTime;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getContent() {
|
||
|
|
return content;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setContent(String content) {
|
||
|
|
this.content = content;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public boolean equals(Object that) {
|
||
|
|
if (this == that) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (that == null) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (getClass() != that.getClass()) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
SysStatuteDesc other = (SysStatuteDesc) that;
|
||
|
|
return (this.getDescId() == null ? other.getDescId() == null : this.getDescId().equals(other.getDescId()))
|
||
|
|
&& (this.getStatuteId() == null ? other.getStatuteId() == null : this.getStatuteId().equals(other.getStatuteId()))
|
||
|
|
&& (this.getModified() == null ? other.getModified() == null : this.getModified().equals(other.getModified()))
|
||
|
|
&& (this.getCreated() == null ? other.getCreated() == null : this.getCreated().equals(other.getCreated()))
|
||
|
|
&& (this.getModifyTime() == null ? other.getModifyTime() == null : this.getModifyTime().equals(other.getModifyTime()))
|
||
|
|
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
|
||
|
|
&& (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public int hashCode() {
|
||
|
|
final int prime = 31;
|
||
|
|
int result = 1;
|
||
|
|
result = prime * result + ((getDescId() == null) ? 0 : getDescId().hashCode());
|
||
|
|
result = prime * result + ((getStatuteId() == null) ? 0 : getStatuteId().hashCode());
|
||
|
|
result = prime * result + ((getModified() == null) ? 0 : getModified().hashCode());
|
||
|
|
result = prime * result + ((getCreated() == null) ? 0 : getCreated().hashCode());
|
||
|
|
result = prime * result + ((getModifyTime() == null) ? 0 : getModifyTime().hashCode());
|
||
|
|
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
|
||
|
|
result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
|
||
|
|
return result;
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public String toString() {
|
||
|
|
StringBuilder sb = new StringBuilder();
|
||
|
|
sb.append(getClass().getSimpleName());
|
||
|
|
sb.append(" [");
|
||
|
|
sb.append("Hash = ").append(hashCode());
|
||
|
|
sb.append(", descId=").append(descId);
|
||
|
|
sb.append(", statuteId=").append(statuteId);
|
||
|
|
sb.append(", modified=").append(modified);
|
||
|
|
sb.append(", created=").append(created);
|
||
|
|
sb.append(", modifyTime=").append(modifyTime);
|
||
|
|
sb.append(", createTime=").append(createTime);
|
||
|
|
sb.append(", content=").append(content);
|
||
|
|
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||
|
|
sb.append("]");
|
||
|
|
return sb.toString();
|
||
|
|
}
|
||
|
|
}
|