package com.qianwen.smartman.modules.smis.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.math.BigDecimal;
|
|
import org.apache.commons.lang3.builder.HashCodeBuilder;
|
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_workstation")
|
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("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 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;
|
}
|
|
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof Workstation;
|
}
|
|
public int hashCode() {
|
return HashCodeBuilder.reflectionHashCode(this);
|
|
}
|
|
public String toString() {
|
return "Workstation(avatar=" + getAvatar() + ", code=" + getCode() + ", name=" + getName() + ", type=" + getType() + ", calendarCode=" + getCalendarCode() + ", calendarCodeWaiting=" + getCalendarCodeWaiting() + ", standardEfficiency=" + getStandardEfficiency() + ", productionCapacityGroup=" + getProductionCapacityGroup() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", transmissionMethod=" + getTransmissionMethod() + ", ftpCatalogue=" + getFtpCatalogue() + ")";
|
}
|
|
|
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.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 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.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 getDeviceType() {
|
return this.deviceType;
|
}
|
|
public Integer getProperties() {
|
return this.properties;
|
}
|
|
public Integer getTransmissionMethod() {
|
return this.transmissionMethod;
|
}
|
|
public String getFtpCatalogue() {
|
return this.ftpCatalogue;
|
}
|
}
|