package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.math.BigDecimal;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_workstation")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Workstation.class */
|
public class Workstation extends TenantEntity {
|
private static final long serialVersionUID = -883848031177958203L;
|
private String avatar;
|
private String code;
|
private String name;
|
private Integer type;
|
@TableField("calendar_code")
|
private String calendarCode;
|
@TableField("calendar_code_waiting")
|
private String calendarCodeWaiting;
|
@TableField("standard_efficiency")
|
private BigDecimal standardEfficiency;
|
private Long productionCapacityGroup;
|
@TableField("support_cnc_rw")
|
private Integer supportCncRw;
|
@TableField("device_type")
|
private Integer deviceType;
|
@TableField("properties")
|
private Integer properties;
|
@TableField("transmission_method")
|
private Integer transmissionMethod;
|
@TableField(exist = false)
|
private String ftpCatalogue;
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
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 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 setSupportCncRw(final Integer supportCncRw) {
|
this.supportCncRw = supportCncRw;
|
}
|
|
public void setDeviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public void setProperties(final Integer properties) {
|
this.properties = properties;
|
}
|
|
public void setTransmissionMethod(final Integer transmissionMethod) {
|
this.transmissionMethod = transmissionMethod;
|
}
|
|
public void setFtpCatalogue(final String ftpCatalogue) {
|
this.ftpCatalogue = ftpCatalogue;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof Workstation) {
|
Workstation other = (Workstation) o;
|
if (other.canEqual(this)) {
|
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$supportCncRw = getSupportCncRw();
|
Object other$supportCncRw = other.getSupportCncRw();
|
if (this$supportCncRw == null) {
|
if (other$supportCncRw != null) {
|
return false;
|
}
|
} else if (!this$supportCncRw.equals(other$supportCncRw)) {
|
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$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$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$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$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$ftpCatalogue = getFtpCatalogue();
|
Object other$ftpCatalogue = other.getFtpCatalogue();
|
return this$ftpCatalogue == null ? other$ftpCatalogue == null : this$ftpCatalogue.equals(other$ftpCatalogue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Workstation;
|
}
|
|
public int hashCode() {
|
Object $type = getType();
|
int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $productionCapacityGroup = getProductionCapacityGroup();
|
int result2 = (result * 59) + ($productionCapacityGroup == null ? 43 : $productionCapacityGroup.hashCode());
|
Object $supportCncRw = getSupportCncRw();
|
int result3 = (result2 * 59) + ($supportCncRw == null ? 43 : $supportCncRw.hashCode());
|
Object $deviceType = getDeviceType();
|
int result4 = (result3 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
|
Object $properties = getProperties();
|
int result5 = (result4 * 59) + ($properties == null ? 43 : $properties.hashCode());
|
Object $transmissionMethod = getTransmissionMethod();
|
int result6 = (result5 * 59) + ($transmissionMethod == null ? 43 : $transmissionMethod.hashCode());
|
Object $avatar = getAvatar();
|
int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $code = getCode();
|
int result8 = (result7 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result9 = (result8 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $calendarCode = getCalendarCode();
|
int result10 = (result9 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
|
Object $calendarCodeWaiting = getCalendarCodeWaiting();
|
int result11 = (result10 * 59) + ($calendarCodeWaiting == null ? 43 : $calendarCodeWaiting.hashCode());
|
Object $standardEfficiency = getStandardEfficiency();
|
int result12 = (result11 * 59) + ($standardEfficiency == null ? 43 : $standardEfficiency.hashCode());
|
Object $ftpCatalogue = getFtpCatalogue();
|
return (result12 * 59) + ($ftpCatalogue == null ? 43 : $ftpCatalogue.hashCode());
|
}
|
|
public String toString() {
|
return "Workstation(avatar=" + getAvatar() + ", code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", calendarCode=" + getCalendarCode() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ", standardEfficiency=" + getStandardEfficiency() + ", productionCapacityGroup=" + getProductionCapacityGroup() + ", supportCncRw=" + getSupportCncRw() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", transmissionMethod=" + getTransmissionMethod() + ", ftpCatalogue=" + getFtpCatalogue() + ")";
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/Workstation$WorkstationBuilder.class */
|
public static class WorkstationBuilder {
|
private String avatar;
|
private String code;
|
private String name;
|
private Integer type;
|
private String calendarCode;
|
private String calendarCodeWaiting;
|
private BigDecimal standardEfficiency;
|
private Long productionCapacityGroup;
|
private Integer supportCncRw;
|
private Integer deviceType;
|
private Integer properties;
|
private Integer transmissionMethod;
|
private String ftpCatalogue;
|
|
WorkstationBuilder() {
|
}
|
|
public WorkstationBuilder avatar(final String avatar) {
|
this.avatar = avatar;
|
return this;
|
}
|
|
public WorkstationBuilder code(final String code) {
|
this.code = code;
|
return this;
|
}
|
|
public WorkstationBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public WorkstationBuilder type(final Integer type) {
|
this.type = type;
|
return this;
|
}
|
|
public WorkstationBuilder calendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
return this;
|
}
|
|
public WorkstationBuilder calendarCodeWaiting(final String calendarCodeWaiting) {
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
return this;
|
}
|
|
public WorkstationBuilder standardEfficiency(final BigDecimal standardEfficiency) {
|
this.standardEfficiency = standardEfficiency;
|
return this;
|
}
|
|
public WorkstationBuilder productionCapacityGroup(final Long productionCapacityGroup) {
|
this.productionCapacityGroup = productionCapacityGroup;
|
return this;
|
}
|
|
public WorkstationBuilder supportCncRw(final Integer supportCncRw) {
|
this.supportCncRw = supportCncRw;
|
return this;
|
}
|
|
public WorkstationBuilder deviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
return this;
|
}
|
|
public WorkstationBuilder properties(final Integer properties) {
|
this.properties = properties;
|
return this;
|
}
|
|
public WorkstationBuilder transmissionMethod(final Integer transmissionMethod) {
|
this.transmissionMethod = transmissionMethod;
|
return this;
|
}
|
|
public WorkstationBuilder ftpCatalogue(final String ftpCatalogue) {
|
this.ftpCatalogue = ftpCatalogue;
|
return this;
|
}
|
|
public Workstation build() {
|
return new Workstation(this.avatar, this.code, this.name, this.type, this.calendarCode, this.calendarCodeWaiting, this.standardEfficiency, this.productionCapacityGroup, this.supportCncRw, this.deviceType, this.properties, this.transmissionMethod, this.ftpCatalogue);
|
}
|
|
public String toString() {
|
return "Workstation.WorkstationBuilder(avatar=" + this.avatar + ", code=" + this.code + ", name=" + this.name + ", type=" + this.type + ", calendarCode=" + this.calendarCode + ", calendarCodeWaiting=" + this.calendarCodeWaiting + ", standardEfficiency=" + this.standardEfficiency + ", productionCapacityGroup=" + this.productionCapacityGroup + ", supportCncRw=" + this.supportCncRw + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", transmissionMethod=" + this.transmissionMethod + ", ftpCatalogue=" + this.ftpCatalogue + ")";
|
}
|
}
|
|
public static WorkstationBuilder builder() {
|
return new WorkstationBuilder();
|
}
|
|
public Workstation(final String avatar, final String code, final String name, final Integer type, final String calendarCode, final String calendarCodeWaiting, final BigDecimal standardEfficiency, final Long productionCapacityGroup, final Integer supportCncRw, final Integer deviceType, final Integer properties, final Integer transmissionMethod, final String ftpCatalogue) {
|
this.avatar = avatar;
|
this.code = code;
|
this.name = name;
|
this.type = type;
|
this.calendarCode = calendarCode;
|
this.calendarCodeWaiting = calendarCodeWaiting;
|
this.standardEfficiency = standardEfficiency;
|
this.productionCapacityGroup = productionCapacityGroup;
|
this.supportCncRw = supportCncRw;
|
this.deviceType = deviceType;
|
this.properties = properties;
|
this.transmissionMethod = transmissionMethod;
|
this.ftpCatalogue = ftpCatalogue;
|
}
|
|
public Workstation() {
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
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 getCalendarCodeWaiting() {
|
return this.calendarCodeWaiting;
|
}
|
|
public BigDecimal getStandardEfficiency() {
|
return this.standardEfficiency;
|
}
|
|
public Long getProductionCapacityGroup() {
|
return this.productionCapacityGroup;
|
}
|
|
public Integer getSupportCncRw() {
|
return this.supportCncRw;
|
}
|
|
public Integer getDeviceType() {
|
return this.deviceType;
|
}
|
|
public Integer getProperties() {
|
return this.properties;
|
}
|
|
public Integer getTransmissionMethod() {
|
return this.transmissionMethod;
|
}
|
|
public String getFtpCatalogue() {
|
return this.ftpCatalogue;
|
}
|
}
|