package com.qianwen.smartman.modules.cps.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import com.qianwen.core.coderule.annotation.CodeRuleObjectType;
|
import com.qianwen.core.coderule.constant.enums.MetaObjectTypeEnum;
|
import com.qianwen.smartman.modules.system.vo.ICard;
|
|
@CodeRuleObjectType(MetaObjectTypeEnum.WORK_STATION)
|
public class WorkstationVO implements ICard {
|
private static final long serialVersionUID = -8938927851683015090L;
|
@ApiModelProperty("工位图片地址")
|
public String avatar;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键")
|
private Long id;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("工位组id")
|
private Long groupId;
|
@ApiModelProperty("工位组名称")
|
private String groupName;
|
@ApiModelProperty("工位编号")
|
private String code;
|
@ApiModelProperty("工位名称")
|
private String name;
|
@ApiModelProperty("工位类型:空、机器、人工")
|
private Integer type;
|
@ApiModelProperty("生产日历编码")
|
private String calendarCode;
|
@ApiModelProperty("生产日历名称")
|
private String calendarName;
|
@ApiModelProperty("待生效生产日历编码")
|
private String calendarCodeWaiting;
|
@ApiModelProperty("标准效率")
|
private BigDecimal standardEfficiency;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("产能组")
|
private Long productionCapacityGroup;
|
@ApiModelProperty("扩展id")
|
private String extendId;
|
@ApiModelProperty("机器id")
|
private Long machineId;
|
@ApiModelProperty("机器编号")
|
private String machineCode;
|
@ApiModelProperty("机器名称")
|
private String machineName;
|
@ApiModelProperty("机器品牌")
|
private String machineBrand;
|
@ApiModelProperty("机器PIN码")
|
private String machinePinCode;
|
@ApiModelProperty("机器短编号")
|
private String machineShortCode;
|
private String bkColor;
|
@ApiModelProperty("工位设备类型")
|
private Integer deviceType;
|
@ApiModelProperty("工位加工类型")
|
private Integer properties;
|
@ApiModelProperty("采集开关")
|
private Integer collectSwitch;
|
private Date createTime;
|
@ApiModelProperty("业务状态 1启用 0 停用")
|
private Integer status;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("ftp目录ID")
|
private Long ftpDirectoryId;
|
@ApiModelProperty("ftp目录名称")
|
private String ftpDirectoryName;
|
@ApiModelProperty("程序传输方式 1FTP 2串口")
|
private Integer transmissionMethod;
|
@ApiModelProperty("权限ID")
|
private Long createDept;
|
@ApiModelProperty("机器类型id")
|
private Long machineTypeId;
|
@ApiModelProperty("机器类型编码")
|
private String machineTypeCode;
|
@ApiModelProperty("机器类型名称")
|
private String machineTypeName;
|
@ApiModelProperty("机器规格")
|
private String machineModel;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationVO$WorkstationVOBuilder.class */
|
public static class WorkstationVOBuilder {
|
private String avatar;
|
private Long id;
|
private Long groupId;
|
private String groupName;
|
private String code;
|
private String name;
|
private Integer type;
|
private String calendarCode;
|
private String calendarName;
|
private String calendarCodeWaiting;
|
private BigDecimal standardEfficiency;
|
private Long productionCapacityGroup;
|
private String extendId;
|
private Long machineId;
|
private String machineCode;
|
private String machineName;
|
private String machineBrand;
|
private String machinePinCode;
|
private String machineShortCode;
|
private String bkColor;
|
private Integer deviceType;
|
private Integer properties;
|
private Integer collectSwitch;
|
private Date createTime;
|
private Integer status;
|
private Long ftpDirectoryId;
|
private String ftpDirectoryName;
|
private Integer transmissionMethod;
|
private Long createDept;
|
private Long machineTypeId;
|
private String machineTypeCode;
|
private String machineTypeName;
|
private String machineModel;
|
|
WorkstationVOBuilder() {
|
}
|
|
public WorkstationVOBuilder avatar(final String avatar) {
|
this.avatar = avatar;
|
return this;
|
}
|
|
public WorkstationVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public WorkstationVOBuilder groupId(final Long groupId) {
|
this.groupId = groupId;
|
return this;
|
}
|
|
public WorkstationVOBuilder groupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public WorkstationVOBuilder code(final String code) {
|
this.code = code;
|
return this;
|
}
|
|
public WorkstationVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public WorkstationVOBuilder type(final Integer type) {
|
this.type = type;
|
return this;
|
}
|
|
public WorkstationVOBuilder calendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
return this;
|
}
|
|
public WorkstationVOBuilder calendarName(final String calendarName) {
|
this.calendarName = calendarName;
|
return this;
|
}
|
|
public WorkstationVOBuilder calendarCodeWaiting(final String calendarCodeWaiting) {
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
return this;
|
}
|
|
public WorkstationVOBuilder standardEfficiency(final BigDecimal standardEfficiency) {
|
this.standardEfficiency = standardEfficiency;
|
return this;
|
}
|
|
public WorkstationVOBuilder productionCapacityGroup(final Long productionCapacityGroup) {
|
this.productionCapacityGroup = productionCapacityGroup;
|
return this;
|
}
|
|
public WorkstationVOBuilder extendId(final String extendId) {
|
this.extendId = extendId;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineId(final Long machineId) {
|
this.machineId = machineId;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineName(final String machineName) {
|
this.machineName = machineName;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineBrand(final String machineBrand) {
|
this.machineBrand = machineBrand;
|
return this;
|
}
|
|
public WorkstationVOBuilder machinePinCode(final String machinePinCode) {
|
this.machinePinCode = machinePinCode;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineShortCode(final String machineShortCode) {
|
this.machineShortCode = machineShortCode;
|
return this;
|
}
|
|
public WorkstationVOBuilder bkColor(final String bkColor) {
|
this.bkColor = bkColor;
|
return this;
|
}
|
|
public WorkstationVOBuilder deviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
return this;
|
}
|
|
public WorkstationVOBuilder properties(final Integer properties) {
|
this.properties = properties;
|
return this;
|
}
|
|
public WorkstationVOBuilder collectSwitch(final Integer collectSwitch) {
|
this.collectSwitch = collectSwitch;
|
return this;
|
}
|
|
public WorkstationVOBuilder createTime(final Date createTime) {
|
this.createTime = createTime;
|
return this;
|
}
|
|
public WorkstationVOBuilder status(final Integer status) {
|
this.status = status;
|
return this;
|
}
|
|
public WorkstationVOBuilder ftpDirectoryId(final Long ftpDirectoryId) {
|
this.ftpDirectoryId = ftpDirectoryId;
|
return this;
|
}
|
|
public WorkstationVOBuilder ftpDirectoryName(final String ftpDirectoryName) {
|
this.ftpDirectoryName = ftpDirectoryName;
|
return this;
|
}
|
|
public WorkstationVOBuilder transmissionMethod(final Integer transmissionMethod) {
|
this.transmissionMethod = transmissionMethod;
|
return this;
|
}
|
|
public WorkstationVOBuilder createDept(final Long createDept) {
|
this.createDept = createDept;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineTypeId(final Long machineTypeId) {
|
this.machineTypeId = machineTypeId;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineTypeCode(final String machineTypeCode) {
|
this.machineTypeCode = machineTypeCode;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineTypeName(final String machineTypeName) {
|
this.machineTypeName = machineTypeName;
|
return this;
|
}
|
|
public WorkstationVOBuilder machineModel(final String machineModel) {
|
this.machineModel = machineModel;
|
return this;
|
}
|
|
public WorkstationVO build() {
|
return new WorkstationVO(this.avatar, this.id, this.groupId, this.groupName, this.code, this.name, this.type, this.calendarCode, this.calendarName, this.calendarCodeWaiting, this.standardEfficiency, this.productionCapacityGroup, this.extendId, this.machineId, this.machineCode, this.machineName, this.machineBrand, this.machinePinCode, this.machineShortCode, this.bkColor, this.deviceType, this.properties, this.collectSwitch, this.createTime, this.status, this.ftpDirectoryId, this.ftpDirectoryName, this.transmissionMethod, this.createDept, this.machineTypeId, this.machineTypeCode, this.machineTypeName, this.machineModel);
|
}
|
|
public String toString() {
|
return "WorkstationVO.WorkstationVOBuilder(avatar=" + this.avatar + ", id=" + this.id + ", groupId=" + this.groupId + ", groupName=" + this.groupName + ", code=" + this.code + ", name=" + this.name + ", type=" + this.type + ", calendarCode=" + this.calendarCode + ", calendarName=" + this.calendarName + ", calendarCodeWaiting=" + this.calendarCodeWaiting + ", standardEfficiency=" + this.standardEfficiency + ", productionCapacityGroup=" + this.productionCapacityGroup + ", extendId=" + this.extendId + ", machineId=" + this.machineId + ", machineCode=" + this.machineCode + ", machineName=" + this.machineName + ", machineBrand=" + this.machineBrand + ", machinePinCode=" + this.machinePinCode + ", machineShortCode=" + this.machineShortCode + ", bkColor=" + this.bkColor + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", collectSwitch=" + this.collectSwitch + ", createTime=" + this.createTime + ", status=" + this.status + ", ftpDirectoryId=" + this.ftpDirectoryId + ", ftpDirectoryName=" + this.ftpDirectoryName + ", transmissionMethod=" + this.transmissionMethod + ", createDept=" + this.createDept + ", machineTypeId=" + this.machineTypeId + ", machineTypeCode=" + this.machineTypeCode + ", machineTypeName=" + this.machineTypeName + ", machineModel=" + this.machineModel + ")";
|
}
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setGroupId(final Long groupId) {
|
this.groupId = groupId;
|
}
|
|
public void setGroupName(final String groupName) {
|
this.groupName = groupName;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setType(final Integer type) {
|
this.type = type;
|
}
|
|
public void setCalendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
}
|
|
public void setCalendarName(final String calendarName) {
|
this.calendarName = calendarName;
|
}
|
|
public void setCalendarCodeWaiting(final String calendarCodeWaiting) {
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
}
|
|
public void setStandardEfficiency(final BigDecimal standardEfficiency) {
|
this.standardEfficiency = standardEfficiency;
|
}
|
|
public void setProductionCapacityGroup(final Long productionCapacityGroup) {
|
this.productionCapacityGroup = productionCapacityGroup;
|
}
|
|
public void setExtendId(final String extendId) {
|
this.extendId = extendId;
|
}
|
|
public void setMachineId(final Long machineId) {
|
this.machineId = machineId;
|
}
|
|
public void setMachineCode(final String machineCode) {
|
this.machineCode = machineCode;
|
}
|
|
public void setMachineName(final String machineName) {
|
this.machineName = machineName;
|
}
|
|
public void setMachineBrand(final String machineBrand) {
|
this.machineBrand = machineBrand;
|
}
|
|
public void setMachinePinCode(final String machinePinCode) {
|
this.machinePinCode = machinePinCode;
|
}
|
|
public void setMachineShortCode(final String machineShortCode) {
|
this.machineShortCode = machineShortCode;
|
}
|
|
public void setBkColor(final String bkColor) {
|
this.bkColor = bkColor;
|
}
|
|
public void setDeviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public void setProperties(final Integer properties) {
|
this.properties = properties;
|
}
|
|
public void setCollectSwitch(final Integer collectSwitch) {
|
this.collectSwitch = collectSwitch;
|
}
|
|
public void setCreateTime(final Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public void setFtpDirectoryId(final Long ftpDirectoryId) {
|
this.ftpDirectoryId = ftpDirectoryId;
|
}
|
|
public void setFtpDirectoryName(final String ftpDirectoryName) {
|
this.ftpDirectoryName = ftpDirectoryName;
|
}
|
|
public void setTransmissionMethod(final Integer transmissionMethod) {
|
this.transmissionMethod = transmissionMethod;
|
}
|
|
public void setCreateDept(final Long createDept) {
|
this.createDept = createDept;
|
}
|
|
public void setMachineTypeId(final Long machineTypeId) {
|
this.machineTypeId = machineTypeId;
|
}
|
|
public void setMachineTypeCode(final String machineTypeCode) {
|
this.machineTypeCode = machineTypeCode;
|
}
|
|
public void setMachineTypeName(final String machineTypeName) {
|
this.machineTypeName = machineTypeName;
|
}
|
|
public void setMachineModel(final String machineModel) {
|
this.machineModel = machineModel;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationVO) {
|
WorkstationVO other = (WorkstationVO) o;
|
if (other.canEqual(this)) {
|
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$groupId = getGroupId();
|
Object other$groupId = other.getGroupId();
|
if (this$groupId == null) {
|
if (other$groupId != null) {
|
return false;
|
}
|
} else if (!this$groupId.equals(other$groupId)) {
|
return false;
|
}
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$productionCapacityGroup = getProductionCapacityGroup();
|
Object other$productionCapacityGroup = other.getProductionCapacityGroup();
|
if (this$productionCapacityGroup == null) {
|
if (other$productionCapacityGroup != null) {
|
return false;
|
}
|
} else if (!this$productionCapacityGroup.equals(other$productionCapacityGroup)) {
|
return false;
|
}
|
Object this$machineId = getMachineId();
|
Object other$machineId = other.getMachineId();
|
if (this$machineId == null) {
|
if (other$machineId != null) {
|
return false;
|
}
|
} else if (!this$machineId.equals(other$machineId)) {
|
return false;
|
}
|
Object this$deviceType = getDeviceType();
|
Object other$deviceType = other.getDeviceType();
|
if (this$deviceType == null) {
|
if (other$deviceType != null) {
|
return false;
|
}
|
} else if (!this$deviceType.equals(other$deviceType)) {
|
return false;
|
}
|
Object this$properties = getProperties();
|
Object other$properties = other.getProperties();
|
if (this$properties == null) {
|
if (other$properties != null) {
|
return false;
|
}
|
} else if (!this$properties.equals(other$properties)) {
|
return false;
|
}
|
Object this$collectSwitch = getCollectSwitch();
|
Object other$collectSwitch = other.getCollectSwitch();
|
if (this$collectSwitch == null) {
|
if (other$collectSwitch != null) {
|
return false;
|
}
|
} else if (!this$collectSwitch.equals(other$collectSwitch)) {
|
return false;
|
}
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$ftpDirectoryId = getFtpDirectoryId();
|
Object other$ftpDirectoryId = other.getFtpDirectoryId();
|
if (this$ftpDirectoryId == null) {
|
if (other$ftpDirectoryId != null) {
|
return false;
|
}
|
} else if (!this$ftpDirectoryId.equals(other$ftpDirectoryId)) {
|
return false;
|
}
|
Object this$transmissionMethod = getTransmissionMethod();
|
Object other$transmissionMethod = other.getTransmissionMethod();
|
if (this$transmissionMethod == null) {
|
if (other$transmissionMethod != null) {
|
return false;
|
}
|
} else if (!this$transmissionMethod.equals(other$transmissionMethod)) {
|
return false;
|
}
|
Object this$createDept = getCreateDept();
|
Object other$createDept = other.getCreateDept();
|
if (this$createDept == null) {
|
if (other$createDept != null) {
|
return false;
|
}
|
} else if (!this$createDept.equals(other$createDept)) {
|
return false;
|
}
|
Object this$machineTypeId = getMachineTypeId();
|
Object other$machineTypeId = other.getMachineTypeId();
|
if (this$machineTypeId == null) {
|
if (other$machineTypeId != null) {
|
return false;
|
}
|
} else if (!this$machineTypeId.equals(other$machineTypeId)) {
|
return false;
|
}
|
Object this$avatar = getAvatar();
|
Object other$avatar = other.getAvatar();
|
if (this$avatar == null) {
|
if (other$avatar != null) {
|
return false;
|
}
|
} else if (!this$avatar.equals(other$avatar)) {
|
return false;
|
}
|
Object this$groupName = getGroupName();
|
Object other$groupName = other.getGroupName();
|
if (this$groupName == null) {
|
if (other$groupName != null) {
|
return false;
|
}
|
} else if (!this$groupName.equals(other$groupName)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$calendarCode = getCalendarCode();
|
Object other$calendarCode = other.getCalendarCode();
|
if (this$calendarCode == null) {
|
if (other$calendarCode != null) {
|
return false;
|
}
|
} else if (!this$calendarCode.equals(other$calendarCode)) {
|
return false;
|
}
|
Object this$calendarName = getCalendarName();
|
Object other$calendarName = other.getCalendarName();
|
if (this$calendarName == null) {
|
if (other$calendarName != null) {
|
return false;
|
}
|
} else if (!this$calendarName.equals(other$calendarName)) {
|
return false;
|
}
|
Object this$calendarCodeWaiting = getCalendarCodeWaiting();
|
Object other$calendarCodeWaiting = other.getCalendarCodeWaiting();
|
if (this$calendarCodeWaiting == null) {
|
if (other$calendarCodeWaiting != null) {
|
return false;
|
}
|
} else if (!this$calendarCodeWaiting.equals(other$calendarCodeWaiting)) {
|
return false;
|
}
|
Object this$standardEfficiency = getStandardEfficiency();
|
Object other$standardEfficiency = other.getStandardEfficiency();
|
if (this$standardEfficiency == null) {
|
if (other$standardEfficiency != null) {
|
return false;
|
}
|
} else if (!this$standardEfficiency.equals(other$standardEfficiency)) {
|
return false;
|
}
|
Object this$extendId = getExtendId();
|
Object other$extendId = other.getExtendId();
|
if (this$extendId == null) {
|
if (other$extendId != null) {
|
return false;
|
}
|
} else if (!this$extendId.equals(other$extendId)) {
|
return false;
|
}
|
Object this$machineCode = getMachineCode();
|
Object other$machineCode = other.getMachineCode();
|
if (this$machineCode == null) {
|
if (other$machineCode != null) {
|
return false;
|
}
|
} else if (!this$machineCode.equals(other$machineCode)) {
|
return false;
|
}
|
Object this$machineName = getMachineName();
|
Object other$machineName = other.getMachineName();
|
if (this$machineName == null) {
|
if (other$machineName != null) {
|
return false;
|
}
|
} else if (!this$machineName.equals(other$machineName)) {
|
return false;
|
}
|
Object this$machineBrand = getMachineBrand();
|
Object other$machineBrand = other.getMachineBrand();
|
if (this$machineBrand == null) {
|
if (other$machineBrand != null) {
|
return false;
|
}
|
} else if (!this$machineBrand.equals(other$machineBrand)) {
|
return false;
|
}
|
Object this$machinePinCode = getMachinePinCode();
|
Object other$machinePinCode = other.getMachinePinCode();
|
if (this$machinePinCode == null) {
|
if (other$machinePinCode != null) {
|
return false;
|
}
|
} else if (!this$machinePinCode.equals(other$machinePinCode)) {
|
return false;
|
}
|
Object this$machineShortCode = getMachineShortCode();
|
Object other$machineShortCode = other.getMachineShortCode();
|
if (this$machineShortCode == null) {
|
if (other$machineShortCode != null) {
|
return false;
|
}
|
} else if (!this$machineShortCode.equals(other$machineShortCode)) {
|
return false;
|
}
|
Object this$bkColor = getBkColor();
|
Object other$bkColor = other.getBkColor();
|
if (this$bkColor == null) {
|
if (other$bkColor != null) {
|
return false;
|
}
|
} else if (!this$bkColor.equals(other$bkColor)) {
|
return false;
|
}
|
Object this$createTime = getCreateTime();
|
Object other$createTime = other.getCreateTime();
|
if (this$createTime == null) {
|
if (other$createTime != null) {
|
return false;
|
}
|
} else if (!this$createTime.equals(other$createTime)) {
|
return false;
|
}
|
Object this$ftpDirectoryName = getFtpDirectoryName();
|
Object other$ftpDirectoryName = other.getFtpDirectoryName();
|
if (this$ftpDirectoryName == null) {
|
if (other$ftpDirectoryName != null) {
|
return false;
|
}
|
} else if (!this$ftpDirectoryName.equals(other$ftpDirectoryName)) {
|
return false;
|
}
|
Object this$machineTypeCode = getMachineTypeCode();
|
Object other$machineTypeCode = other.getMachineTypeCode();
|
if (this$machineTypeCode == null) {
|
if (other$machineTypeCode != null) {
|
return false;
|
}
|
} else if (!this$machineTypeCode.equals(other$machineTypeCode)) {
|
return false;
|
}
|
Object this$machineTypeName = getMachineTypeName();
|
Object other$machineTypeName = other.getMachineTypeName();
|
if (this$machineTypeName == null) {
|
if (other$machineTypeName != null) {
|
return false;
|
}
|
} else if (!this$machineTypeName.equals(other$machineTypeName)) {
|
return false;
|
}
|
Object this$machineModel = getMachineModel();
|
Object other$machineModel = other.getMachineModel();
|
return this$machineModel == null ? other$machineModel == null : this$machineModel.equals(other$machineModel);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $groupId = getGroupId();
|
int result2 = (result * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
Object $type = getType();
|
int result3 = (result2 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $productionCapacityGroup = getProductionCapacityGroup();
|
int result4 = (result3 * 59) + ($productionCapacityGroup == null ? 43 : $productionCapacityGroup.hashCode());
|
Object $machineId = getMachineId();
|
int result5 = (result4 * 59) + ($machineId == null ? 43 : $machineId.hashCode());
|
Object $deviceType = getDeviceType();
|
int result6 = (result5 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
|
Object $properties = getProperties();
|
int result7 = (result6 * 59) + ($properties == null ? 43 : $properties.hashCode());
|
Object $collectSwitch = getCollectSwitch();
|
int result8 = (result7 * 59) + ($collectSwitch == null ? 43 : $collectSwitch.hashCode());
|
Object $status = getStatus();
|
int result9 = (result8 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $ftpDirectoryId = getFtpDirectoryId();
|
int result10 = (result9 * 59) + ($ftpDirectoryId == null ? 43 : $ftpDirectoryId.hashCode());
|
Object $transmissionMethod = getTransmissionMethod();
|
int result11 = (result10 * 59) + ($transmissionMethod == null ? 43 : $transmissionMethod.hashCode());
|
Object $createDept = getCreateDept();
|
int result12 = (result11 * 59) + ($createDept == null ? 43 : $createDept.hashCode());
|
Object $machineTypeId = getMachineTypeId();
|
int result13 = (result12 * 59) + ($machineTypeId == null ? 43 : $machineTypeId.hashCode());
|
Object $avatar = getAvatar();
|
int result14 = (result13 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $groupName = getGroupName();
|
int result15 = (result14 * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $code = getCode();
|
int result16 = (result15 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result17 = (result16 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $calendarCode = getCalendarCode();
|
int result18 = (result17 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
|
Object $calendarName = getCalendarName();
|
int result19 = (result18 * 59) + ($calendarName == null ? 43 : $calendarName.hashCode());
|
Object $calendarCodeWaiting = getCalendarCodeWaiting();
|
int result20 = (result19 * 59) + ($calendarCodeWaiting == null ? 43 : $calendarCodeWaiting.hashCode());
|
Object $standardEfficiency = getStandardEfficiency();
|
int result21 = (result20 * 59) + ($standardEfficiency == null ? 43 : $standardEfficiency.hashCode());
|
Object $extendId = getExtendId();
|
int result22 = (result21 * 59) + ($extendId == null ? 43 : $extendId.hashCode());
|
Object $machineCode = getMachineCode();
|
int result23 = (result22 * 59) + ($machineCode == null ? 43 : $machineCode.hashCode());
|
Object $machineName = getMachineName();
|
int result24 = (result23 * 59) + ($machineName == null ? 43 : $machineName.hashCode());
|
Object $machineBrand = getMachineBrand();
|
int result25 = (result24 * 59) + ($machineBrand == null ? 43 : $machineBrand.hashCode());
|
Object $machinePinCode = getMachinePinCode();
|
int result26 = (result25 * 59) + ($machinePinCode == null ? 43 : $machinePinCode.hashCode());
|
Object $machineShortCode = getMachineShortCode();
|
int result27 = (result26 * 59) + ($machineShortCode == null ? 43 : $machineShortCode.hashCode());
|
Object $bkColor = getBkColor();
|
int result28 = (result27 * 59) + ($bkColor == null ? 43 : $bkColor.hashCode());
|
Object $createTime = getCreateTime();
|
int result29 = (result28 * 59) + ($createTime == null ? 43 : $createTime.hashCode());
|
Object $ftpDirectoryName = getFtpDirectoryName();
|
int result30 = (result29 * 59) + ($ftpDirectoryName == null ? 43 : $ftpDirectoryName.hashCode());
|
Object $machineTypeCode = getMachineTypeCode();
|
int result31 = (result30 * 59) + ($machineTypeCode == null ? 43 : $machineTypeCode.hashCode());
|
Object $machineTypeName = getMachineTypeName();
|
int result32 = (result31 * 59) + ($machineTypeName == null ? 43 : $machineTypeName.hashCode());
|
Object $machineModel = getMachineModel();
|
return (result32 * 59) + ($machineModel == null ? 43 : $machineModel.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationVO(avatar=" + getAvatar() + ", id=" + getId() + ", groupId=" + getGroupId() + ", groupName=" + getGroupName() + ", code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", calendarCode=" + getCalendarCode() + ", calendarName=" + getCalendarName() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ", standardEfficiency=" + getStandardEfficiency() + ", productionCapacityGroup=" + getProductionCapacityGroup() + ", extendId=" + getExtendId() + ", machineId=" + getMachineId() + ", machineCode=" + getMachineCode() + ", machineName=" + getMachineName() + ", machineBrand=" + getMachineBrand() + ", machinePinCode=" + getMachinePinCode() + ", machineShortCode=" + getMachineShortCode() + ", bkColor=" + getBkColor() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", collectSwitch=" + getCollectSwitch() + ", createTime=" + getCreateTime() + ", status=" + getStatus() + ", ftpDirectoryId=" + getFtpDirectoryId() + ", ftpDirectoryName=" + getFtpDirectoryName() + ", transmissionMethod=" + getTransmissionMethod() + ", createDept=" + getCreateDept() + ", machineTypeId=" + getMachineTypeId() + ", machineTypeCode=" + getMachineTypeCode() + ", machineTypeName=" + getMachineTypeName() + ", machineModel=" + getMachineModel() + ")";
|
}
|
|
public static WorkstationVOBuilder builder() {
|
return new WorkstationVOBuilder();
|
}
|
|
public WorkstationVO(final String avatar, final Long id, final Long groupId, final String groupName, final String code, final String name, final Integer type, final String calendarCode, final String calendarName, final String calendarCodeWaiting, final BigDecimal standardEfficiency, final Long productionCapacityGroup, final String extendId, final Long machineId, final String machineCode, final String machineName, final String machineBrand, final String machinePinCode, final String machineShortCode, final String bkColor, final Integer deviceType, final Integer properties, final Integer collectSwitch, final Date createTime, final Integer status, final Long ftpDirectoryId, final String ftpDirectoryName, final Integer transmissionMethod, final Long createDept, final Long machineTypeId, final String machineTypeCode, final String machineTypeName, final String machineModel) {
|
this.createTime = new Date();
|
this.avatar = avatar;
|
this.id = id;
|
this.groupId = groupId;
|
this.groupName = groupName;
|
this.code = code;
|
this.name = name;
|
this.type = type;
|
this.calendarCode = calendarCode;
|
this.calendarName = calendarName;
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
this.standardEfficiency = standardEfficiency;
|
this.productionCapacityGroup = productionCapacityGroup;
|
this.extendId = extendId;
|
this.machineId = machineId;
|
this.machineCode = machineCode;
|
this.machineName = machineName;
|
this.machineBrand = machineBrand;
|
this.machinePinCode = machinePinCode;
|
this.machineShortCode = machineShortCode;
|
this.bkColor = bkColor;
|
this.deviceType = deviceType;
|
this.properties = properties;
|
this.collectSwitch = collectSwitch;
|
this.createTime = createTime;
|
this.status = status;
|
this.ftpDirectoryId = ftpDirectoryId;
|
this.ftpDirectoryName = ftpDirectoryName;
|
this.transmissionMethod = transmissionMethod;
|
this.createDept = createDept;
|
this.machineTypeId = machineTypeId;
|
this.machineTypeCode = machineTypeCode;
|
this.machineTypeName = machineTypeName;
|
this.machineModel = machineModel;
|
}
|
|
public WorkstationVO() {
|
this.createTime = new Date();
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getGroupId() {
|
return this.groupId;
|
}
|
|
public String getGroupName() {
|
return this.groupName;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
|
public String getCalendarCode() {
|
return this.calendarCode;
|
}
|
|
public String getCalendarName() {
|
return this.calendarName;
|
}
|
|
public String getCalendarCodeWaiting() {
|
return this.calendarCodeWaiting;
|
}
|
|
public BigDecimal getStandardEfficiency() {
|
return this.standardEfficiency;
|
}
|
|
public Long getProductionCapacityGroup() {
|
return this.productionCapacityGroup;
|
}
|
|
public String getExtendId() {
|
return this.extendId;
|
}
|
|
public Long getMachineId() {
|
return this.machineId;
|
}
|
|
public String getMachineCode() {
|
return this.machineCode;
|
}
|
|
public String getMachineName() {
|
return this.machineName;
|
}
|
|
public String getMachineBrand() {
|
return this.machineBrand;
|
}
|
|
public String getMachinePinCode() {
|
return this.machinePinCode;
|
}
|
|
public String getMachineShortCode() {
|
return this.machineShortCode;
|
}
|
|
@Override // org.springblade.modules.system.vo.ICard
|
public String getBkColor() {
|
return this.bkColor;
|
}
|
|
public Integer getDeviceType() {
|
return this.deviceType;
|
}
|
|
public Integer getProperties() {
|
return this.properties;
|
}
|
|
public Integer getCollectSwitch() {
|
return this.collectSwitch;
|
}
|
|
public Date getCreateTime() {
|
return this.createTime;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public Long getFtpDirectoryId() {
|
return this.ftpDirectoryId;
|
}
|
|
public String getFtpDirectoryName() {
|
return this.ftpDirectoryName;
|
}
|
|
public Integer getTransmissionMethod() {
|
return this.transmissionMethod;
|
}
|
|
public Long getCreateDept() {
|
return this.createDept;
|
}
|
|
public Long getMachineTypeId() {
|
return this.machineTypeId;
|
}
|
|
public String getMachineTypeCode() {
|
return this.machineTypeCode;
|
}
|
|
public String getMachineTypeName() {
|
return this.machineTypeName;
|
}
|
|
public String getMachineModel() {
|
return this.machineModel;
|
}
|
|
@Override // org.springblade.modules.system.vo.ICard
|
public String getCardTitle() {
|
return getName();
|
}
|
|
@Override // org.springblade.modules.system.vo.ICard
|
public String getBkImage() {
|
return this.avatar;
|
}
|
|
@Override // org.springblade.modules.system.vo.ICard
|
public String getStatusCode() {
|
return null;
|
}
|
}
|