package com.qianwen.smartman.modules.mdc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.LinkedHashMap;
|
|
|
public class StatisticsDataVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty(value = "id", dataType = "java.lang.String")
|
private String id;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("数据")
|
private LinkedHashMap<String, String> data;
|
@ApiModelProperty("名称")
|
private LinkedHashMap<String, String> nameData;
|
|
|
public static class StatisticsDataVOBuilder {
|
private String workstationCode;
|
private String id;
|
private String workstationName;
|
private LinkedHashMap<String, String> data;
|
private LinkedHashMap<String, String> nameData;
|
|
StatisticsDataVOBuilder() {
|
}
|
|
public StatisticsDataVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public StatisticsDataVOBuilder id(final String id) {
|
this.id = id;
|
return this;
|
}
|
|
public StatisticsDataVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public StatisticsDataVOBuilder data(final LinkedHashMap<String, String> data) {
|
this.data = data;
|
return this;
|
}
|
|
public StatisticsDataVOBuilder nameData(final LinkedHashMap<String, String> nameData) {
|
this.nameData = nameData;
|
return this;
|
}
|
|
public StatisticsDataVO build() {
|
return new StatisticsDataVO(this.workstationCode, this.id, this.workstationName, this.data, this.nameData);
|
}
|
|
public String toString() {
|
return "StatisticsDataVO.StatisticsDataVOBuilder(workstationCode=" + this.workstationCode + ", id=" + this.id + ", workstationName=" + this.workstationName + ", data=" + this.data + ", nameData=" + this.nameData + ")";
|
}
|
}
|
|
public StatisticsDataVO setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public StatisticsDataVO setId(final String id) {
|
this.id = id;
|
return this;
|
}
|
|
public StatisticsDataVO setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public StatisticsDataVO setData(final LinkedHashMap<String, String> data) {
|
this.data = data;
|
return this;
|
}
|
|
public StatisticsDataVO setNameData(final LinkedHashMap<String, String> nameData) {
|
this.nameData = nameData;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof StatisticsDataVO) {
|
StatisticsDataVO other = (StatisticsDataVO) o;
|
if (other.canEqual(this)) {
|
Object this$workstationCode = getWorkstationCode();
|
Object other$workstationCode = other.getWorkstationCode();
|
if (this$workstationCode == null) {
|
if (other$workstationCode != null) {
|
return false;
|
}
|
} else if (!this$workstationCode.equals(other$workstationCode)) {
|
return false;
|
}
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
if (this$workstationName == null) {
|
if (other$workstationName != null) {
|
return false;
|
}
|
} else if (!this$workstationName.equals(other$workstationName)) {
|
return false;
|
}
|
Object this$data = getData();
|
Object other$data = other.getData();
|
if (this$data == null) {
|
if (other$data != null) {
|
return false;
|
}
|
} else if (!this$data.equals(other$data)) {
|
return false;
|
}
|
Object this$nameData = getNameData();
|
Object other$nameData = other.getNameData();
|
return this$nameData == null ? other$nameData == null : this$nameData.equals(other$nameData);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof StatisticsDataVO;
|
}
|
|
public int hashCode() {
|
Object $workstationCode = getWorkstationCode();
|
int result = (1 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $id = getId();
|
int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result3 = (result2 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $data = getData();
|
int result4 = (result3 * 59) + ($data == null ? 43 : $data.hashCode());
|
Object $nameData = getNameData();
|
return (result4 * 59) + ($nameData == null ? 43 : $nameData.hashCode());
|
}
|
|
public String toString() {
|
return "StatisticsDataVO(workstationCode=" + getWorkstationCode() + ", id=" + getId() + ", workstationName=" + getWorkstationName() + ", data=" + getData() + ", nameData=" + getNameData() + ")";
|
}
|
|
public static StatisticsDataVOBuilder builder() {
|
return new StatisticsDataVOBuilder();
|
}
|
|
public StatisticsDataVO() {
|
}
|
|
public StatisticsDataVO(final String workstationCode, final String id, final String workstationName, final LinkedHashMap<String, String> data, final LinkedHashMap<String, String> nameData) {
|
this.workstationCode = workstationCode;
|
this.id = id;
|
this.workstationName = workstationName;
|
this.data = data;
|
this.nameData = nameData;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public LinkedHashMap<String, String> getData() {
|
return this.data;
|
}
|
|
public LinkedHashMap<String, String> getNameData() {
|
return this.nameData;
|
}
|
}
|