There is no getter for property named 'updateTime' in 'class com.sky.dto.EmployeeDTO'
时间: 2023-11-19 18:40:45 浏览: 107
updatetime
It seems that you are encountering an issue with the 'updateTime' property in the 'EmployeeDTO' class. The error message states that there is no getter method defined for this property. In order to access the value of the 'updateTime' property, you need to create a getter method in the 'EmployeeDTO' class.
Here is an example of how you can add a getter method for the 'updateTime' property in Java:
```java
public class EmployeeDTO {
private Date updateTime;
// Getter method for 'updateTime'
public Date getUpdateTime() {
return updateTime;
}
// Setter method for 'updateTime' (if needed)
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
// Other properties and methods
}
```
By adding a getter method like the one shown above, you should be able to access the value of the 'updateTime' property in your code.
阅读全文