AddOnDept.java 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package com.ruoyi.sim.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. * 部门附加对象 sim_add_on_dept
  8. *
  9. * @author tom
  10. * @date 2024-12-13
  11. */
  12. public class AddOnDept extends BaseEntity {
  13. private static final long serialVersionUID = 1L;
  14. /**
  15. * 班级ID/部门ID
  16. */
  17. private Long deptId;
  18. /**
  19. * 专业ID
  20. */
  21. @Excel(name = "专业ID")
  22. private Long majorId;
  23. public void setDeptId(Long deptId) {
  24. this.deptId = deptId;
  25. }
  26. public Long getDeptId() {
  27. return deptId;
  28. }
  29. public void setMajorId(Long majorId) {
  30. this.majorId = majorId;
  31. }
  32. public Long getMajorId() {
  33. return majorId;
  34. }
  35. @Override
  36. public String toString() {
  37. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  38. .append("deptId", getDeptId())
  39. .append("majorId", getMajorId())
  40. .toString();
  41. }
  42. }