package com.qianwen.smartman.modules.cps.excel;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
import java.io.Serializable;
|
|
@HeadRowHeight(20)
|
@ColumnWidth(16)
|
@ContentRowHeight(18)
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/excel/ProcessExcel.class */
|
public class ProcessExcel implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ExcelProperty({"工序编号"})
|
private String code;
|
@ExcelProperty({"工序名称"})
|
private String name;
|
@ExcelProperty({"工种"})
|
private String typeName;
|
@ExcelProperty({"工序描述"})
|
private String description;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setTypeName(final String typeName) {
|
this.typeName = typeName;
|
}
|
|
public void setDescription(final String description) {
|
this.description = description;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessExcel) {
|
ProcessExcel other = (ProcessExcel) o;
|
if (other.canEqual(this)) {
|
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$typeName = getTypeName();
|
Object other$typeName = other.getTypeName();
|
if (this$typeName == null) {
|
if (other$typeName != null) {
|
return false;
|
}
|
} else if (!this$typeName.equals(other$typeName)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
return this$description == null ? other$description == null : this$description.equals(other$description);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessExcel;
|
}
|
|
public int hashCode() {
|
Object $code = getCode();
|
int result = (1 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $typeName = getTypeName();
|
int result3 = (result2 * 59) + ($typeName == null ? 43 : $typeName.hashCode());
|
Object $description = getDescription();
|
return (result3 * 59) + ($description == null ? 43 : $description.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessExcel(code=" + getCode() + ", name=" + getName() + ", typeName=" + getTypeName() + ", description=" + getDescription() + ")";
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getTypeName() {
|
return this.typeName;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
}
|