ExternalInterfaceLog.java 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. package com.phm.manage.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.phm.common.annotation.Excel;
  7. import com.phm.common.core.domain.BaseEntity;
  8. /**
  9. * 外部接口日志对象 sys_external_interface_log
  10. *
  11. * @author phm
  12. * @date 2023-08-22
  13. */
  14. public class ExternalInterfaceLog extends BaseEntity {
  15. private static final long serialVersionUID = 1L;
  16. /**
  17. * 唯一ID
  18. */
  19. private Long id;
  20. /**
  21. * 接口结果
  22. */
  23. @Excel(name = "接口结果")
  24. private String result;
  25. /**
  26. * 接口名称
  27. */
  28. @Excel(name = "接口名称")
  29. private String name;
  30. /**
  31. * 接口路径
  32. */
  33. @Excel(name = "接口路径")
  34. private String url;
  35. /**
  36. * 数据是否删除(1:删除,0有效)
  37. */
  38. @Excel(name = "数据是否删除", readConverterExp = "1=:删除,0有效")
  39. private Long isDelete;
  40. /**
  41. * 创建人
  42. */
  43. @Excel(name = "创建人")
  44. private String createdBy;
  45. /**
  46. * 创建时间
  47. */
  48. @JsonFormat(pattern = "yyyy-MM-dd")
  49. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
  50. private Date createdTime;
  51. /**
  52. * 更新人
  53. */
  54. @Excel(name = "更新人")
  55. private String updatedBy;
  56. /**
  57. * 更新时间
  58. */
  59. @JsonFormat(pattern = "yyyy-MM-dd")
  60. @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
  61. private Date updatedTime;
  62. public void setId(Long id) {
  63. this.id = id;
  64. }
  65. public Long getId() {
  66. return id;
  67. }
  68. public void setResult(String result) {
  69. this.result = result;
  70. }
  71. public String getResult() {
  72. return result;
  73. }
  74. public void setName(String name) {
  75. this.name = name;
  76. }
  77. public String getName() {
  78. return name;
  79. }
  80. public void setUrl(String url) {
  81. this.url = url;
  82. }
  83. public String getUrl() {
  84. return url;
  85. }
  86. public void setIsDelete(Long isDelete) {
  87. this.isDelete = isDelete;
  88. }
  89. public Long getIsDelete() {
  90. return isDelete;
  91. }
  92. public void setCreatedBy(String createdBy) {
  93. this.createdBy = createdBy;
  94. }
  95. public String getCreatedBy() {
  96. return createdBy;
  97. }
  98. public void setCreatedTime(Date createdTime) {
  99. this.createdTime = createdTime;
  100. }
  101. public Date getCreatedTime() {
  102. return createdTime;
  103. }
  104. public void setUpdatedBy(String updatedBy) {
  105. this.updatedBy = updatedBy;
  106. }
  107. public String getUpdatedBy() {
  108. return updatedBy;
  109. }
  110. public void setUpdatedTime(Date updatedTime) {
  111. this.updatedTime = updatedTime;
  112. }
  113. public Date getUpdatedTime() {
  114. return updatedTime;
  115. }
  116. @Override
  117. public String toString() {
  118. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  119. .append("id", getId())
  120. .append("result", getResult())
  121. .append("name", getName())
  122. .append("url", getUrl())
  123. .append("isDelete", getIsDelete())
  124. .append("createdBy", getCreatedBy())
  125. .append("createdTime", getCreatedTime())
  126. .append("updatedBy", getUpdatedBy())
  127. .append("updatedTime", getUpdatedTime())
  128. .toString();
  129. }
  130. }