package com.qianwen.smartman.modules.perf.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
import java.util.Map;
|
import com.qianwen.smartman.modules.cps.dto.EmployeeDTO;
|
import com.qianwen.smartman.modules.cps.dto.WorkstationDTO;
|
import com.qianwen.smartman.modules.mdc.entity.SuperAggregateOutput;
|
import com.qianwen.smartman.modules.mdc.entity.SuperAggregateState;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/dto/EmployeePerfDTO.class */
|
public class EmployeePerfDTO implements Serializable {
|
private static final long serialVersionUID = -2730725625238870868L;
|
@ApiModelProperty("状态")
|
private List<SuperAggregateState> states;
|
@ApiModelProperty("产量")
|
private List<SuperAggregateOutput> outputs;
|
@ApiModelProperty("工位信息")
|
private Map<String, WorkstationDTO> works;
|
@ApiModelProperty("员工信息")
|
private Map<String, EmployeeDTO> employees;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/perf/dto/EmployeePerfDTO$EmployeePerfDTOBuilder.class */
|
public static class EmployeePerfDTOBuilder {
|
private List<SuperAggregateState> states;
|
private List<SuperAggregateOutput> outputs;
|
private Map<String, WorkstationDTO> works;
|
private Map<String, EmployeeDTO> employees;
|
|
EmployeePerfDTOBuilder() {
|
}
|
|
public EmployeePerfDTOBuilder states(final List<SuperAggregateState> states) {
|
this.states = states;
|
return this;
|
}
|
|
public EmployeePerfDTOBuilder outputs(final List<SuperAggregateOutput> outputs) {
|
this.outputs = outputs;
|
return this;
|
}
|
|
public EmployeePerfDTOBuilder works(final Map<String, WorkstationDTO> works) {
|
this.works = works;
|
return this;
|
}
|
|
public EmployeePerfDTOBuilder employees(final Map<String, EmployeeDTO> employees) {
|
this.employees = employees;
|
return this;
|
}
|
|
public EmployeePerfDTO build() {
|
return new EmployeePerfDTO(this.states, this.outputs, this.works, this.employees);
|
}
|
|
public String toString() {
|
return "EmployeePerfDTO.EmployeePerfDTOBuilder(states=" + this.states + ", outputs=" + this.outputs + ", works=" + this.works + ", employees=" + this.employees + ")";
|
}
|
}
|
|
public void setStates(final List<SuperAggregateState> states) {
|
this.states = states;
|
}
|
|
public void setOutputs(final List<SuperAggregateOutput> outputs) {
|
this.outputs = outputs;
|
}
|
|
public void setWorks(final Map<String, WorkstationDTO> works) {
|
this.works = works;
|
}
|
|
public void setEmployees(final Map<String, EmployeeDTO> employees) {
|
this.employees = employees;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof EmployeePerfDTO) {
|
EmployeePerfDTO other = (EmployeePerfDTO) o;
|
if (other.canEqual(this)) {
|
Object this$states = getStates();
|
Object other$states = other.getStates();
|
if (this$states == null) {
|
if (other$states != null) {
|
return false;
|
}
|
} else if (!this$states.equals(other$states)) {
|
return false;
|
}
|
Object this$outputs = getOutputs();
|
Object other$outputs = other.getOutputs();
|
if (this$outputs == null) {
|
if (other$outputs != null) {
|
return false;
|
}
|
} else if (!this$outputs.equals(other$outputs)) {
|
return false;
|
}
|
Object this$works = getWorks();
|
Object other$works = other.getWorks();
|
if (this$works == null) {
|
if (other$works != null) {
|
return false;
|
}
|
} else if (!this$works.equals(other$works)) {
|
return false;
|
}
|
Object this$employees = getEmployees();
|
Object other$employees = other.getEmployees();
|
return this$employees == null ? other$employees == null : this$employees.equals(other$employees);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof EmployeePerfDTO;
|
}
|
|
public int hashCode() {
|
Object $states = getStates();
|
int result = (1 * 59) + ($states == null ? 43 : $states.hashCode());
|
Object $outputs = getOutputs();
|
int result2 = (result * 59) + ($outputs == null ? 43 : $outputs.hashCode());
|
Object $works = getWorks();
|
int result3 = (result2 * 59) + ($works == null ? 43 : $works.hashCode());
|
Object $employees = getEmployees();
|
return (result3 * 59) + ($employees == null ? 43 : $employees.hashCode());
|
}
|
|
public String toString() {
|
return "EmployeePerfDTO(states=" + getStates() + ", outputs=" + getOutputs() + ", works=" + getWorks() + ", employees=" + getEmployees() + ")";
|
}
|
|
public static EmployeePerfDTOBuilder builder() {
|
return new EmployeePerfDTOBuilder();
|
}
|
|
public EmployeePerfDTO() {
|
}
|
|
public EmployeePerfDTO(final List<SuperAggregateState> states, final List<SuperAggregateOutput> outputs, final Map<String, WorkstationDTO> works, final Map<String, EmployeeDTO> employees) {
|
this.states = states;
|
this.outputs = outputs;
|
this.works = works;
|
this.employees = employees;
|
}
|
|
public List<SuperAggregateState> getStates() {
|
return this.states;
|
}
|
|
public List<SuperAggregateOutput> getOutputs() {
|
return this.outputs;
|
}
|
|
public Map<String, WorkstationDTO> getWorks() {
|
return this.works;
|
}
|
|
public Map<String, EmployeeDTO> getEmployees() {
|
return this.employees;
|
}
|
}
|