|
@@ -2,7 +2,7 @@ package com.java110.doc.entity;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
-public class CmdDocDto implements Serializable {
|
|
|
|
|
|
|
+public class CmdDocDto implements Serializable, Comparable<CmdDocDto> {
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* api title
|
|
* api title
|
|
@@ -33,6 +33,8 @@ public class CmdDocDto implements Serializable {
|
|
|
*/
|
|
*/
|
|
|
private String httpMethod;
|
|
private String httpMethod;
|
|
|
|
|
|
|
|
|
|
+ private int seq;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* request url
|
|
* request url
|
|
|
*
|
|
*
|
|
@@ -119,4 +121,17 @@ public class CmdDocDto implements Serializable {
|
|
|
public void setServiceCode(String serviceCode) {
|
|
public void setServiceCode(String serviceCode) {
|
|
|
this.serviceCode = serviceCode;
|
|
this.serviceCode = serviceCode;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public int getSeq() {
|
|
|
|
|
+ return seq;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setSeq(int seq) {
|
|
|
|
|
+ this.seq = seq;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public int compareTo(CmdDocDto o) {
|
|
|
|
|
+ return this.getSeq() - o.getSeq();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|