update doipPort

This commit is contained in:
CaiHQ 2023-03-31 11:50:43 +08:00
parent 6a4e1c830c
commit 469fa271d4

View File

@ -19,10 +19,9 @@ public class Contract implements Serializable {
String script; String script;
String owner; String owner;
String pubkey; String pubkey;
String doi;
String authInfoPersistDOI; String authInfoPersistDOI;
String nodeCenterRepoDOI; String nodeCenterRepoDOI;
boolean doipFlag; int doipPort;
int numOfCopies = 1; int numOfCopies = 1;
boolean isDebug; boolean isDebug;
int consensusType; int consensusType;
@ -58,18 +57,18 @@ public class Contract implements Serializable {
return id; return id;
} }
public void setDoipPort(int doipPort) {
this.doipPort = doipPort;
}
public int getDoipPort() {
return doipPort;
}
public void setID(String id) { public void setID(String id) {
this.id = id; this.id = id;
} }
public String getDOI() {
return doi;
}
public void setDOI(String doi) {
this.doi = doi;
}
public String getAuthInfoPersistDOI() { public String getAuthInfoPersistDOI() {
return authInfoPersistDOI; return authInfoPersistDOI;
} }
@ -86,14 +85,6 @@ public class Contract implements Serializable {
this.nodeCenterRepoDOI = nodeCenterRepoDOI; this.nodeCenterRepoDOI = nodeCenterRepoDOI;
} }
public boolean getDoipFlag() {
return doipFlag;
}
public void setDoipFlag(boolean doipFlag) {
this.doipFlag = doipFlag;
}
public ContractExecType getType() { public ContractExecType getType() {
return type; return type;
} }