AddOnUser.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_user
  8. *
  9. * @author tom
  10. * @date 2024-12-11
  11. */
  12. public class AddOnUser extends BaseEntity {
  13. private static final long serialVersionUID = 1L;
  14. /**
  15. * 用户ID
  16. */
  17. private Long userId;
  18. /**
  19. * 专业ID
  20. */
  21. @Excel(name = "专业ID")
  22. private Long majorId;
  23. public void setUserId(Long userId) {
  24. this.userId = userId;
  25. }
  26. public Long getUserId() {
  27. return userId;
  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("userId", getUserId())
  39. .append("majorId", getMajorId())
  40. .append("createBy", getCreateBy())
  41. .append("createTime", getCreateTime())
  42. .append("updateBy", getUpdateBy())
  43. .append("updateTime", getUpdateTime())
  44. .append("remark", getRemark())
  45. .toString();
  46. }
  47. }