package com.qianwen.smartman.modules.perf.vo;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
import com.qianwen.smartman.common.constant.DateConstant;
|
import com.qianwen.core.mp.support.Query;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/vo/QueryEmployeeLogVO.class */
|
public class QueryEmployeeLogVO implements Serializable {
|
private static final long serialVersionUID = -1194525018086245619L;
|
@ApiModelProperty("分页条件")
|
private Query query;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("开始时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date startTime;
|
@DateTimeFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
@ApiModelProperty("结束时间")
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
private Date endTime;
|
@ApiModelProperty("员工id")
|
private List<Long> employeeIds;
|
@ApiModelProperty("工位id")
|
private List<Long> workstationIds;
|
|
public void setQuery(final Query query) {
|
this.query = query;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setStartTime(final Date startTime) {
|
this.startTime = startTime;
|
}
|
|
@JsonFormat(pattern = DateConstant.PATTERN_DATE_TIME)
|
public void setEndTime(final Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setEmployeeIds(final List<Long> employeeIds) {
|
this.employeeIds = employeeIds;
|
}
|
|
public void setWorkstationIds(final List<Long> workstationIds) {
|
this.workstationIds = workstationIds;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof QueryEmployeeLogVO) {
|
QueryEmployeeLogVO other = (QueryEmployeeLogVO) o;
|
if (other.canEqual(this)) {
|
Object this$query = getQuery();
|
Object other$query = other.getQuery();
|
if (this$query == null) {
|
if (other$query != null) {
|
return false;
|
}
|
} else if (!this$query.equals(other$query)) {
|
return false;
|
}
|
Object this$startTime = getStartTime();
|
Object other$startTime = other.getStartTime();
|
if (this$startTime == null) {
|
if (other$startTime != null) {
|
return false;
|
}
|
} else if (!this$startTime.equals(other$startTime)) {
|
return false;
|
}
|
Object this$endTime = getEndTime();
|
Object other$endTime = other.getEndTime();
|
if (this$endTime == null) {
|
if (other$endTime != null) {
|
return false;
|
}
|
} else if (!this$endTime.equals(other$endTime)) {
|
return false;
|
}
|
Object this$employeeIds = getEmployeeIds();
|
Object other$employeeIds = other.getEmployeeIds();
|
if (this$employeeIds == null) {
|
if (other$employeeIds != null) {
|
return false;
|
}
|
} else if (!this$employeeIds.equals(other$employeeIds)) {
|
return false;
|
}
|
Object this$workstationIds = getWorkstationIds();
|
Object other$workstationIds = other.getWorkstationIds();
|
return this$workstationIds == null ? other$workstationIds == null : this$workstationIds.equals(other$workstationIds);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof QueryEmployeeLogVO;
|
}
|
|
public int hashCode() {
|
Object $query = getQuery();
|
int result = (1 * 59) + ($query == null ? 43 : $query.hashCode());
|
Object $startTime = getStartTime();
|
int result2 = (result * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
int result3 = (result2 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $employeeIds = getEmployeeIds();
|
int result4 = (result3 * 59) + ($employeeIds == null ? 43 : $employeeIds.hashCode());
|
Object $workstationIds = getWorkstationIds();
|
return (result4 * 59) + ($workstationIds == null ? 43 : $workstationIds.hashCode());
|
}
|
|
public String toString() {
|
return "QueryEmployeeLogVO(query=" + getQuery() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", employeeIds=" + getEmployeeIds() + ", workstationIds=" + getWorkstationIds() + ")";
|
}
|
|
public Query getQuery() {
|
return this.query;
|
}
|
|
public Date getStartTime() {
|
return this.startTime;
|
}
|
|
public Date getEndTime() {
|
return this.endTime;
|
}
|
|
public List<Long> getEmployeeIds() {
|
return this.employeeIds;
|
}
|
|
public List<Long> getWorkstationIds() {
|
return this.workstationIds;
|
}
|
}
|