package com.qianwen.smartman.modules.fms.dto;
|
|
import java.util.Arrays;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/fms/dto/ProgramDmpDto.class */
|
public class ProgramDmpDto {
|
private String FileName;
|
private byte[] Content;
|
private String DeviceCode;
|
|
public ProgramDmpDto setFileName(final String FileName) {
|
this.FileName = FileName;
|
return this;
|
}
|
|
public ProgramDmpDto setContent(final byte[] Content) {
|
this.Content = Content;
|
return this;
|
}
|
|
public ProgramDmpDto setDeviceCode(final String DeviceCode) {
|
this.DeviceCode = DeviceCode;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProgramDmpDto) {
|
ProgramDmpDto other = (ProgramDmpDto) o;
|
if (other.canEqual(this)) {
|
Object this$FileName = getFileName();
|
Object other$FileName = other.getFileName();
|
if (this$FileName == null) {
|
if (other$FileName != null) {
|
return false;
|
}
|
} else if (!this$FileName.equals(other$FileName)) {
|
return false;
|
}
|
if (Arrays.equals(getContent(), other.getContent())) {
|
Object this$DeviceCode = getDeviceCode();
|
Object other$DeviceCode = other.getDeviceCode();
|
return this$DeviceCode == null ? other$DeviceCode == null : this$DeviceCode.equals(other$DeviceCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProgramDmpDto;
|
}
|
|
public int hashCode() {
|
Object $FileName = getFileName();
|
int result = (1 * 59) + ($FileName == null ? 43 : $FileName.hashCode());
|
int result2 = (result * 59) + Arrays.hashCode(getContent());
|
Object $DeviceCode = getDeviceCode();
|
return (result2 * 59) + ($DeviceCode == null ? 43 : $DeviceCode.hashCode());
|
}
|
|
public String toString() {
|
return "ProgramDmpDto(FileName=" + getFileName() + ", Content=" + Arrays.toString(getContent()) + ", DeviceCode=" + getDeviceCode() + ")";
|
}
|
|
public String getFileName() {
|
return this.FileName;
|
}
|
|
public byte[] getContent() {
|
return this.Content;
|
}
|
|
public String getDeviceCode() {
|
return this.DeviceCode;
|
}
|
}
|