StuCollege.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package com.ruoyi.system.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. * 学院对象 stu_college
  8. *
  9. * @author liql
  10. * @date 2021-03-23
  11. */
  12. public class StuCollege extends BaseEntity
  13. {
  14. private static final long serialVersionUID = 1L;
  15. /** 主键id */
  16. private Long id;
  17. /** 院校名称 */
  18. @Excel(name = "院校名称")
  19. private String collegeName;
  20. public void setId(Long id)
  21. {
  22. this.id = id;
  23. }
  24. public Long getId()
  25. {
  26. return id;
  27. }
  28. public void setCollegeName(String collegeName)
  29. {
  30. this.collegeName = collegeName;
  31. }
  32. public String getCollegeName()
  33. {
  34. return collegeName;
  35. }
  36. @Override
  37. public String toString() {
  38. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  39. .append("id", getId())
  40. .append("collegeName", getCollegeName())
  41. .append("remark", getRemark())
  42. .append("createBy", getCreateBy())
  43. .append("createTime", getCreateTime())
  44. .append("updateBy", getUpdateBy())
  45. .append("updateTime", getUpdateTime())
  46. .toString();
  47. }
  48. }