增加 - PDA mac 验证
parent
4e43b5d048
commit
48c3b9619d
@ -0,0 +1,45 @@
|
||||
package com.example.aucma_mes.entity;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @author wanghao
|
||||
* @date 2023/11/22 17:36
|
||||
*/
|
||||
public class RegisterPda {
|
||||
/* "pdaName": "质检PDA02",
|
||||
"serialCode": "4c:11:54:36:b7:91",*/
|
||||
private String pdaName;
|
||||
private String serialCode;
|
||||
|
||||
public String getPdaName() {
|
||||
return pdaName;
|
||||
}
|
||||
|
||||
public void setPdaName(String pdaName) {
|
||||
this.pdaName = pdaName;
|
||||
}
|
||||
|
||||
public String getSerialCode() {
|
||||
return serialCode;
|
||||
}
|
||||
|
||||
public void setSerialCode(String serialCode) {
|
||||
this.serialCode = serialCode;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
if (o == null || getClass() != o.getClass()) return false;
|
||||
|
||||
RegisterPda that = (RegisterPda) o;
|
||||
|
||||
return Objects.equals(serialCode, that.serialCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return serialCode != null ? serialCode.hashCode() : 0;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue