package com.qianwen.smartman.modules.mdc.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 com.qianwen.smartman.common.cache.RegionCache;
|
|
@HeadRowHeight(20)
|
@ColumnWidth(16)
|
@ContentRowHeight(18)
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/excel/OutputShiftIndexSheetExcel.class */
|
public class OutputShiftIndexSheetExcel {
|
@ExcelProperty(value = {"日期"}, index = 0)
|
private String date;
|
@ExcelProperty(value = {"工位组"}, index = 1)
|
private String groupName;
|
@ExcelProperty(value = {"工位编号"}, index = 2)
|
private String workstationCode;
|
@ExcelProperty(value = {"工位名称"}, index = 3)
|
private String workstationName;
|
@ExcelProperty(value = {"班次1"}, index = 4)
|
private String shift1;
|
@ExcelProperty(value = {"产量"}, index = RegionCache.VILLAGE_LEVEL)
|
private String yield1;
|
@ExcelProperty(value = {"班次2"}, index = 6)
|
private String shift2;
|
@ExcelProperty(value = {"产量"}, index = 7)
|
private String yield2;
|
@ExcelProperty(value = {"班次3"}, index = 8)
|
private String shift3;
|
@ExcelProperty(value = {"产量"}, index = 9)
|
private String yield3;
|
@ExcelProperty(value = {"班次4"}, index = 10)
|
private String shift4;
|
@ExcelProperty(value = {"产量"}, index = 11)
|
private String yield4;
|
|
public OutputShiftIndexSheetExcel setDate(final String date) {
|
this.date = date;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setGroupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setShift1(final String shift1) {
|
this.shift1 = shift1;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setYield1(final String yield1) {
|
this.yield1 = yield1;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setShift2(final String shift2) {
|
this.shift2 = shift2;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setYield2(final String yield2) {
|
this.yield2 = yield2;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setShift3(final String shift3) {
|
this.shift3 = shift3;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setYield3(final String yield3) {
|
this.yield3 = yield3;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setShift4(final String shift4) {
|
this.shift4 = shift4;
|
return this;
|
}
|
|
public OutputShiftIndexSheetExcel setYield4(final String yield4) {
|
this.yield4 = yield4;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OutputShiftIndexSheetExcel) {
|
OutputShiftIndexSheetExcel other = (OutputShiftIndexSheetExcel) o;
|
if (other.canEqual(this)) {
|
Object this$date = getDate();
|
Object other$date = other.getDate();
|
if (this$date == null) {
|
if (other$date != null) {
|
return false;
|
}
|
} else if (!this$date.equals(other$date)) {
|
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$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$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$shift1 = getShift1();
|
Object other$shift1 = other.getShift1();
|
if (this$shift1 == null) {
|
if (other$shift1 != null) {
|
return false;
|
}
|
} else if (!this$shift1.equals(other$shift1)) {
|
return false;
|
}
|
Object this$yield1 = getYield1();
|
Object other$yield1 = other.getYield1();
|
if (this$yield1 == null) {
|
if (other$yield1 != null) {
|
return false;
|
}
|
} else if (!this$yield1.equals(other$yield1)) {
|
return false;
|
}
|
Object this$shift2 = getShift2();
|
Object other$shift2 = other.getShift2();
|
if (this$shift2 == null) {
|
if (other$shift2 != null) {
|
return false;
|
}
|
} else if (!this$shift2.equals(other$shift2)) {
|
return false;
|
}
|
Object this$yield2 = getYield2();
|
Object other$yield2 = other.getYield2();
|
if (this$yield2 == null) {
|
if (other$yield2 != null) {
|
return false;
|
}
|
} else if (!this$yield2.equals(other$yield2)) {
|
return false;
|
}
|
Object this$shift3 = getShift3();
|
Object other$shift3 = other.getShift3();
|
if (this$shift3 == null) {
|
if (other$shift3 != null) {
|
return false;
|
}
|
} else if (!this$shift3.equals(other$shift3)) {
|
return false;
|
}
|
Object this$yield3 = getYield3();
|
Object other$yield3 = other.getYield3();
|
if (this$yield3 == null) {
|
if (other$yield3 != null) {
|
return false;
|
}
|
} else if (!this$yield3.equals(other$yield3)) {
|
return false;
|
}
|
Object this$shift4 = getShift4();
|
Object other$shift4 = other.getShift4();
|
if (this$shift4 == null) {
|
if (other$shift4 != null) {
|
return false;
|
}
|
} else if (!this$shift4.equals(other$shift4)) {
|
return false;
|
}
|
Object this$yield4 = getYield4();
|
Object other$yield4 = other.getYield4();
|
return this$yield4 == null ? other$yield4 == null : this$yield4.equals(other$yield4);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OutputShiftIndexSheetExcel;
|
}
|
|
public int hashCode() {
|
Object $date = getDate();
|
int result = (1 * 59) + ($date == null ? 43 : $date.hashCode());
|
Object $groupName = getGroupName();
|
int result2 = (result * 59) + ($groupName == null ? 43 : $groupName.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result3 = (result2 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result4 = (result3 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $shift1 = getShift1();
|
int result5 = (result4 * 59) + ($shift1 == null ? 43 : $shift1.hashCode());
|
Object $yield1 = getYield1();
|
int result6 = (result5 * 59) + ($yield1 == null ? 43 : $yield1.hashCode());
|
Object $shift2 = getShift2();
|
int result7 = (result6 * 59) + ($shift2 == null ? 43 : $shift2.hashCode());
|
Object $yield2 = getYield2();
|
int result8 = (result7 * 59) + ($yield2 == null ? 43 : $yield2.hashCode());
|
Object $shift3 = getShift3();
|
int result9 = (result8 * 59) + ($shift3 == null ? 43 : $shift3.hashCode());
|
Object $yield3 = getYield3();
|
int result10 = (result9 * 59) + ($yield3 == null ? 43 : $yield3.hashCode());
|
Object $shift4 = getShift4();
|
int result11 = (result10 * 59) + ($shift4 == null ? 43 : $shift4.hashCode());
|
Object $yield4 = getYield4();
|
return (result11 * 59) + ($yield4 == null ? 43 : $yield4.hashCode());
|
}
|
|
public String toString() {
|
return "OutputShiftIndexSheetExcel(date=" + getDate() + ", groupName=" + getGroupName() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", shift1=" + getShift1() + ", yield1=" + getYield1() + ", shift2=" + getShift2() + ", yield2=" + getYield2() + ", shift3=" + getShift3() + ", yield3=" + getYield3() + ", shift4=" + getShift4() + ", yield4=" + getYield4() + ")";
|
}
|
|
public OutputShiftIndexSheetExcel() {
|
}
|
|
public OutputShiftIndexSheetExcel(final String date, final String groupName, final String workstationCode, final String workstationName, final String shift1, final String yield1, final String shift2, final String yield2, final String shift3, final String yield3, final String shift4, final String yield4) {
|
this.date = date;
|
this.groupName = groupName;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.shift1 = shift1;
|
this.yield1 = yield1;
|
this.shift2 = shift2;
|
this.yield2 = yield2;
|
this.shift3 = shift3;
|
this.yield3 = yield3;
|
this.shift4 = shift4;
|
this.yield4 = yield4;
|
}
|
|
public String getDate() {
|
return this.date;
|
}
|
|
public String getGroupName() {
|
return this.groupName;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public String getShift1() {
|
return this.shift1;
|
}
|
|
public String getYield1() {
|
return this.yield1;
|
}
|
|
public String getShift2() {
|
return this.shift2;
|
}
|
|
public String getYield2() {
|
return this.yield2;
|
}
|
|
public String getShift3() {
|
return this.shift3;
|
}
|
|
public String getYield3() {
|
return this.yield3;
|
}
|
|
public String getShift4() {
|
return this.shift4;
|
}
|
|
public String getYield4() {
|
return this.yield4;
|
}
|
}
|