TChap.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package com.ruoyi.rc.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 问卷章节对象 t_chap
  8. *
  9. * @author ruoyi
  10. * @date 2024-07-19
  11. */
  12. public class TChap extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** id */
  16. private Long id;
  17. /** 审计记录id */
  18. @Excel(name = "审计记录id")
  19. private Long auditId;
  20. /** 名称 */
  21. @Excel(name = "名称")
  22. private String name;
  23. /** 装置id */
  24. @Excel(name = "装置id")
  25. private Long deptId;
  26. public void setId(Long id)
  27. {
  28. this.id = id;
  29. }
  30. public Long getId()
  31. {
  32. return id;
  33. }
  34. public void setAuditId(Long auditId)
  35. {
  36. this.auditId = auditId;
  37. }
  38. public Long getAuditId()
  39. {
  40. return auditId;
  41. }
  42. public void setName(String name)
  43. {
  44. this.name = name;
  45. }
  46. public String getName()
  47. {
  48. return name;
  49. }
  50. public void setDeptId(Long deptId)
  51. {
  52. this.deptId = deptId;
  53. }
  54. public Long getDeptId()
  55. {
  56. return deptId;
  57. }
  58. @Override
  59. public String toString() {
  60. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  61. .append("id", getId())
  62. .append("auditId", getAuditId())
  63. .append("name", getName())
  64. .append("deptId", getDeptId())
  65. .toString();
  66. }
  67. }