FaultAnalyzeResult.java 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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. * 故障分析结果对象 phm_fault_analyze_result
  10. *
  11. * @author phm
  12. * @date 2023-08-22
  13. */
  14. public class FaultAnalyzeResult 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 moduleName;
  25. /**
  26. * 功能模块类型
  27. */
  28. @Excel(name = "功能模块类型")
  29. private String moduleType;
  30. /**
  31. * 分析结果
  32. */
  33. @Excel(name = "分析结果")
  34. private String analyzeInfo;
  35. /**
  36. * 批注,注解
  37. */
  38. @Excel(name = "批注,注解")
  39. private String comment;
  40. /**
  41. * 数据是否删除(1:删除,0有效)
  42. */
  43. @Excel(name = "数据是否删除", readConverterExp = "1=:删除,0有效")
  44. private Long isDelete;
  45. /**
  46. * 创建人
  47. */
  48. @Excel(name = "创建人")
  49. private String createdBy;
  50. /**
  51. * 创建时间
  52. */
  53. @JsonFormat(pattern = "yyyy-MM-dd")
  54. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
  55. private Date createdTime;
  56. /**
  57. * 更新人
  58. */
  59. @Excel(name = "更新人")
  60. private String updatedBy;
  61. /**
  62. * 更新时间
  63. */
  64. @JsonFormat(pattern = "yyyy-MM-dd")
  65. @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
  66. private Date updatedTime;
  67. public void setId(Long id) {
  68. this.id = id;
  69. }
  70. public Long getId() {
  71. return id;
  72. }
  73. public void setModuleName(String moduleName) {
  74. this.moduleName = moduleName;
  75. }
  76. public String getModuleName() {
  77. return moduleName;
  78. }
  79. public void setModuleType(String moduleType) {
  80. this.moduleType = moduleType;
  81. }
  82. public String getModuleType() {
  83. return moduleType;
  84. }
  85. public void setAnalyzeInfo(String analyzeInfo) {
  86. this.analyzeInfo = analyzeInfo;
  87. }
  88. public String getAnalyzeInfo() {
  89. return analyzeInfo;
  90. }
  91. public void setComment(String comment) {
  92. this.comment = comment;
  93. }
  94. public String getComment() {
  95. return comment;
  96. }
  97. public void setIsDelete(Long isDelete) {
  98. this.isDelete = isDelete;
  99. }
  100. public Long getIsDelete() {
  101. return isDelete;
  102. }
  103. public void setCreatedBy(String createdBy) {
  104. this.createdBy = createdBy;
  105. }
  106. public String getCreatedBy() {
  107. return createdBy;
  108. }
  109. public void setCreatedTime(Date createdTime) {
  110. this.createdTime = createdTime;
  111. }
  112. public Date getCreatedTime() {
  113. return createdTime;
  114. }
  115. public void setUpdatedBy(String updatedBy) {
  116. this.updatedBy = updatedBy;
  117. }
  118. public String getUpdatedBy() {
  119. return updatedBy;
  120. }
  121. public void setUpdatedTime(Date updatedTime) {
  122. this.updatedTime = updatedTime;
  123. }
  124. public Date getUpdatedTime() {
  125. return updatedTime;
  126. }
  127. @Override
  128. public String toString() {
  129. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  130. .append("id", getId())
  131. .append("moduleName", getModuleName())
  132. .append("moduleType", getModuleType())
  133. .append("analyzeInfo", getAnalyzeInfo())
  134. .append("comment", getComment())
  135. .append("isDelete", getIsDelete())
  136. .append("createdBy", getCreatedBy())
  137. .append("createdTime", getCreatedTime())
  138. .append("updatedBy", getUpdatedBy())
  139. .append("updatedTime", getUpdatedTime())
  140. .toString();
  141. }
  142. }