|
@@ -0,0 +1,150 @@
|
|
|
+package org.springblade.business.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import java.util.Date;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 日志按月封装表
|
|
|
+ * @TableName u_contract_log_month_pack
|
|
|
+ */
|
|
|
+@TableName(value ="u_contract_log_month_pack")
|
|
|
+@Data
|
|
|
+public class ContractLogMonthPack {
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ @TableId
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 项目id
|
|
|
+ */
|
|
|
+ private Long projectId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 合同段id
|
|
|
+ */
|
|
|
+ private Long contractId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 私有WBS树p_key_id
|
|
|
+ */
|
|
|
+ private Long wbsNodeId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 日志类型
|
|
|
+ */
|
|
|
+ private Integer wbsNodeType;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 文件名称
|
|
|
+ */
|
|
|
+ private String fileName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 上当月中最后一份文件的日期
|
|
|
+ */
|
|
|
+ private Date recordTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 合同段名称
|
|
|
+ */
|
|
|
+ private String contractName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 页数
|
|
|
+ */
|
|
|
+ private Integer page;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建时间
|
|
|
+ */
|
|
|
+ private Date createTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建人
|
|
|
+ */
|
|
|
+ private Long createUser;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改时间
|
|
|
+ */
|
|
|
+ private Date updateTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 修改人
|
|
|
+ */
|
|
|
+ private Long updateUser;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean equals(Object that) {
|
|
|
+ if (this == that) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (that == null) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ ContractLogMonthPack other = (ContractLogMonthPack) that;
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
+ && (this.getProjectId() == null ? other.getProjectId() == null : this.getProjectId().equals(other.getProjectId()))
|
|
|
+ && (this.getContractId() == null ? other.getContractId() == null : this.getContractId().equals(other.getContractId()))
|
|
|
+ && (this.getWbsNodeId() == null ? other.getWbsNodeId() == null : this.getWbsNodeId().equals(other.getWbsNodeId()))
|
|
|
+ && (this.getWbsNodeType() == null ? other.getWbsNodeType() == null : this.getWbsNodeType().equals(other.getWbsNodeType()))
|
|
|
+ && (this.getFileName() == null ? other.getFileName() == null : this.getFileName().equals(other.getFileName()))
|
|
|
+ && (this.getRecordTime() == null ? other.getRecordTime() == null : this.getRecordTime().equals(other.getRecordTime()))
|
|
|
+ && (this.getContractName() == null ? other.getContractName() == null : this.getContractName().equals(other.getContractName()))
|
|
|
+ && (this.getPage() == null ? other.getPage() == null : this.getPage().equals(other.getPage()))
|
|
|
+ && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
|
|
|
+ && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
|
|
|
+ && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
|
|
|
+ && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()));
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int hashCode() {
|
|
|
+ final int prime = 31;
|
|
|
+ int result = 1;
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
+ result = prime * result + ((getProjectId() == null) ? 0 : getProjectId().hashCode());
|
|
|
+ result = prime * result + ((getContractId() == null) ? 0 : getContractId().hashCode());
|
|
|
+ result = prime * result + ((getWbsNodeId() == null) ? 0 : getWbsNodeId().hashCode());
|
|
|
+ result = prime * result + ((getWbsNodeType() == null) ? 0 : getWbsNodeType().hashCode());
|
|
|
+ result = prime * result + ((getFileName() == null) ? 0 : getFileName().hashCode());
|
|
|
+ result = prime * result + ((getRecordTime() == null) ? 0 : getRecordTime().hashCode());
|
|
|
+ result = prime * result + ((getContractName() == null) ? 0 : getContractName().hashCode());
|
|
|
+ result = prime * result + ((getPage() == null) ? 0 : getPage().hashCode());
|
|
|
+ result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
|
|
|
+ result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
|
|
|
+ result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
|
|
|
+ result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ @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(", projectId=").append(projectId);
|
|
|
+ sb.append(", contractId=").append(contractId);
|
|
|
+ sb.append(", wbsNodeId=").append(wbsNodeId);
|
|
|
+ sb.append(", wbsNodeType=").append(wbsNodeType);
|
|
|
+ sb.append(", fileName=").append(fileName);
|
|
|
+ sb.append(", recordTime=").append(recordTime);
|
|
|
+ sb.append(", contractName=").append(contractName);
|
|
|
+ sb.append(", page=").append(page);
|
|
|
+ sb.append(", createTime=").append(createTime);
|
|
|
+ sb.append(", createUser=").append(createUser);
|
|
|
+ sb.append(", updateTime=").append(updateTime);
|
|
|
+ sb.append(", updateUser=").append(updateUser);
|
|
|
+ sb.append("]");
|
|
|
+ return sb.toString();
|
|
|
+ }
|
|
|
+}
|