|
@@ -1,12 +1,11 @@
|
|
|
package com.ruoyi.system.domain.checkPoint;
|
|
|
|
|
|
-import java.util.Date;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
/**
|
|
|
* 巡更点记录对象 check_point_record
|
|
|
*
|
|
@@ -33,8 +32,8 @@ public class CheckPointRecord extends BaseEntity
|
|
|
private String checkType;
|
|
|
|
|
|
/** 巡更时间 */
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
- @Excel(name = "巡更时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "巡更时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date checkTime;
|
|
|
|
|
|
/** 巡更路线 */
|
|
@@ -56,6 +55,10 @@ public class CheckPointRecord extends BaseEntity
|
|
|
/** 巡更人id */
|
|
|
@Excel(name = "巡更人id")
|
|
|
private Long checkUseId;
|
|
|
+ /**
|
|
|
+ * 巡更人员工管理id
|
|
|
+ */
|
|
|
+ private Long checkStaffId;
|
|
|
|
|
|
/** 巡更人手机号 */
|
|
|
@Excel(name = "巡更人手机号")
|
|
@@ -74,15 +77,23 @@ public class CheckPointRecord extends BaseEntity
|
|
|
private String checkResultPhoto;
|
|
|
|
|
|
/** 巡更时间 */
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
- @Excel(name = "巡更时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "巡更时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
private Date checkResultTime;
|
|
|
|
|
|
/** 是否巡更 1:未巡更 2:已巡更 */
|
|
|
@Excel(name = "是否巡更 1:未巡更 2:已巡更")
|
|
|
private String checkStatus;
|
|
|
|
|
|
- public void setCheckPointRecordId(Long checkPointRecordId)
|
|
|
+ public Long getCheckStaffId() {
|
|
|
+ return checkStaffId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCheckStaffId(Long checkStaffId) {
|
|
|
+ this.checkStaffId = checkStaffId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCheckPointRecordId(Long checkPointRecordId)
|
|
|
{
|
|
|
this.checkPointRecordId = checkPointRecordId;
|
|
|
}
|
|
@@ -229,28 +240,24 @@ public class CheckPointRecord extends BaseEntity
|
|
|
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("checkPointRecordId", getCheckPointRecordId())
|
|
|
- .append("checkPointManageId", getCheckPointManageId())
|
|
|
- .append("dateTimeNum", getDateTimeNum())
|
|
|
- .append("checkType", getCheckType())
|
|
|
- .append("checkTime", getCheckTime())
|
|
|
- .append("checkAddress", getCheckAddress())
|
|
|
- .append("userName", getUserName())
|
|
|
- .append("useId", getUseId())
|
|
|
- .append("checkUserName", getCheckUserName())
|
|
|
- .append("checkUseId", getCheckUseId())
|
|
|
- .append("checkUsePhone", getCheckUsePhone())
|
|
|
- .append("checkResult", getCheckResult())
|
|
|
- .append("checkResultDetails", getCheckResultDetails())
|
|
|
- .append("checkResultPhoto", getCheckResultPhoto())
|
|
|
- .append("checkResultTime", getCheckResultTime())
|
|
|
- .append("checkStatus", getCheckStatus())
|
|
|
- .append("createBy", getCreateBy())
|
|
|
- .append("createTime", getCreateTime())
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
- .append("remark", getRemark())
|
|
|
- .toString();
|
|
|
+ return "CheckPointRecord{" +
|
|
|
+ "checkPointRecordId=" + checkPointRecordId +
|
|
|
+ ", checkPointManageId=" + checkPointManageId +
|
|
|
+ ", dateTimeNum='" + dateTimeNum + '\'' +
|
|
|
+ ", checkType='" + checkType + '\'' +
|
|
|
+ ", checkTime=" + checkTime +
|
|
|
+ ", checkAddress='" + checkAddress + '\'' +
|
|
|
+ ", userName='" + userName + '\'' +
|
|
|
+ ", useId=" + useId +
|
|
|
+ ", checkUserName='" + checkUserName + '\'' +
|
|
|
+ ", checkUseId=" + checkUseId +
|
|
|
+ ", checkStaffId=" + checkStaffId +
|
|
|
+ ", checkUsePhone='" + checkUsePhone + '\'' +
|
|
|
+ ", checkResult='" + checkResult + '\'' +
|
|
|
+ ", checkResultDetails='" + checkResultDetails + '\'' +
|
|
|
+ ", checkResultPhoto='" + checkResultPhoto + '\'' +
|
|
|
+ ", checkResultTime=" + checkResultTime +
|
|
|
+ ", checkStatus='" + checkStatus + '\'' +
|
|
|
+ '}';
|
|
|
}
|
|
|
}
|