b6ed90dc490231335e643b1ea83fc66ac5c1eb00.svn-base 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package org.jeecg.modules.system.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import io.swagger.annotations.ApiModel;
  7. import io.swagger.annotations.ApiModelProperty;
  8. import lombok.Data;
  9. import lombok.EqualsAndHashCode;
  10. import lombok.experimental.Accessors;
  11. import org.jeecg.common.aspect.annotation.Dict;
  12. import org.jeecgframework.poi.excel.annotation.Excel;
  13. import org.springframework.format.annotation.DateTimeFormat;
  14. import java.io.Serializable;
  15. import java.util.Date;
  16. /**
  17. * @Description: gateway路由管理
  18. * @Author: jeecg-boot
  19. * @Date: 2020-05-26
  20. * @Version: V1.0
  21. */
  22. @Data
  23. @TableName("sys_gateway_route")
  24. @Accessors(chain = true)
  25. @EqualsAndHashCode(callSuper = false)
  26. @ApiModel(value="sys_gateway_route对象", description="gateway路由管理")
  27. public class SysGatewayRoute implements Serializable {
  28. private static final long serialVersionUID = 1L;
  29. /**主键*/
  30. @TableId(type = IdType.ASSIGN_ID)
  31. @ApiModelProperty(value = "主键")
  32. private String id;
  33. /**routerKEy*/
  34. @ApiModelProperty(value = "路由ID")
  35. private String routerId;
  36. /**服务名*/
  37. @Excel(name = "服务名", width = 15)
  38. @ApiModelProperty(value = "服务名")
  39. private String name;
  40. /**服务地址*/
  41. @Excel(name = "服务地址", width = 15)
  42. @ApiModelProperty(value = "服务地址")
  43. private String uri;
  44. /**
  45. * 断言配置
  46. */
  47. private String predicates;
  48. /**
  49. * 过滤配置
  50. */
  51. private String filters;
  52. /**是否忽略前缀0-否 1-是*/
  53. @Excel(name = "忽略前缀", width = 15)
  54. @ApiModelProperty(value = "忽略前缀")
  55. @Dict(dicCode = "yn")
  56. private Integer stripPrefix;
  57. /**是否重试0-否 1-是*/
  58. @Excel(name = "是否重试", width = 15)
  59. @ApiModelProperty(value = "是否重试")
  60. @Dict(dicCode = "yn")
  61. private Integer retryable;
  62. /**是否为保留数据:0-否 1-是*/
  63. @Excel(name = "保留数据", width = 15)
  64. @ApiModelProperty(value = "保留数据")
  65. @Dict(dicCode = "yn")
  66. private Integer persistable;
  67. /**是否在接口文档中展示:0-否 1-是*/
  68. @Excel(name = "在接口文档中展示", width = 15)
  69. @ApiModelProperty(value = "在接口文档中展示")
  70. @Dict(dicCode = "yn")
  71. private Integer showApi;
  72. /**状态 1有效 0无效*/
  73. @Excel(name = "状态", width = 15)
  74. @ApiModelProperty(value = "状态")
  75. @Dict(dicCode = "yn")
  76. private Integer status;
  77. /**创建人*/
  78. @ApiModelProperty(value = "创建人")
  79. private String createBy;
  80. /**创建日期*/
  81. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  82. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  83. @ApiModelProperty(value = "创建日期")
  84. private Date createTime;
  85. /* *//**更新人*//*
  86. @ApiModelProperty(value = "更新人")
  87. private String updateBy;
  88. *//**更新日期*//*
  89. @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
  90. @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  91. @ApiModelProperty(value = "更新日期")
  92. private Date updateTime;
  93. *//**所属部门*//*
  94. @ApiModelProperty(value = "所属部门")
  95. private String sysOrgCode;*/
  96. }