131ae5455767ea801faf4a43d770808d819111d6.svn-base 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package cn.com.goldenwater.dcproj.model;
  2. import java.io.Serializable;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import cn.com.goldenwater.core.model.BaseBean;
  5. import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  6. /**
  7. * entity:GwRouteApi
  8. *
  9. * @author lune
  10. * @date 2019-12-24
  11. */
  12. @JsonIgnoreProperties(value = {"handler","hibernateLazyInitializer"})
  13. public class GwRouteApi extends BaseBean implements Serializable {
  14. private String id;
  15. @ApiModelProperty("方法名")
  16. private String method;
  17. private String url;
  18. private String className;
  19. @ApiModelProperty("接口类型get/post")
  20. private String type;
  21. @ApiModelProperty("接口描述")
  22. private String note;
  23. @ApiModelProperty("所属应用,后期扩展使用")
  24. private String ownApp;
  25. public GwRouteApi() {
  26. }
  27. public String getId() {
  28. return id;
  29. }
  30. public void setId(String id) {
  31. this.id = id;
  32. }
  33. public String getMethod() {
  34. return method;
  35. }
  36. public void setMethod(String method) {
  37. this.method = method;
  38. }
  39. public String getUrl() {
  40. return url;
  41. }
  42. public void setUrl(String url) {
  43. this.url = url;
  44. }
  45. public String getClassName() {
  46. return className;
  47. }
  48. public void setClassName(String className) {
  49. this.className = className;
  50. }
  51. public String getType() {
  52. return type;
  53. }
  54. public void setType(String type) {
  55. this.type = type;
  56. }
  57. public String getNote() {
  58. return note;
  59. }
  60. public void setNote(String note) {
  61. this.note = note;
  62. }
  63. public String getOwnApp() {
  64. return ownApp;
  65. }
  66. public void setOwnApp(String ownApp) {
  67. this.ownApp = ownApp;
  68. }
  69. @Override
  70. public String toString() {
  71. return "GwRouteApi [" + "id=" + id + ", method=" + method + ", url=" + url + ", className=" + className + ", type=" + type + ", note=" + note + ", ownApp=" + ownApp + "]";
  72. }
  73. }