DzSchool.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. package com.ruoyi.dz.domain;
  2. import com.ruoyi.common.core.domain.entity.SysDept;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import com.ruoyi.common.annotation.Excel;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. import java.util.List;
  8. /**
  9. * 机构校区对象 dz_school
  10. *
  11. * @author ruoyi
  12. * @date 2025-09-12
  13. */
  14. public class DzSchool extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** $column.columnComment */
  18. private Long id;
  19. /** 名称 */
  20. @Excel(name = "名称")
  21. private String name;
  22. /** 机构ID */
  23. @Excel(name = "机构ID")
  24. private Long deptId;
  25. /** 用户ID */
  26. @Excel(name = "用户ID")
  27. private Long userId;
  28. /** 地域 */
  29. @Excel(name = "地域")
  30. private String location;
  31. /** 省 */
  32. @Excel(name = "省")
  33. private Long pro;
  34. /** 市 */
  35. @Excel(name = "市")
  36. private Long city;
  37. /** 区 */
  38. @Excel(name = "区")
  39. private Long area;
  40. String proCityAreaName ;
  41. /** 状态(0:无效,1:有效) */
  42. @Excel(name = "状态(0:无效,1:有效)")
  43. private Integer status;
  44. private SysDept dept;
  45. private Boolean campus;
  46. public Long getUserId() {
  47. return userId;
  48. }
  49. public void setUserId(Long userId) {
  50. this.userId = userId;
  51. }
  52. public String getProCityAreaName() {
  53. return proCityAreaName;
  54. }
  55. public void setProCityAreaName(String proCityAreaName) {
  56. this.proCityAreaName = proCityAreaName;
  57. }
  58. public SysDept getDept() {
  59. return dept;
  60. }
  61. public void setDept(SysDept dept) {
  62. this.dept = dept;
  63. }
  64. public void setId(Long id)
  65. {
  66. this.id = id;
  67. }
  68. public Long getId()
  69. {
  70. return id;
  71. }
  72. public void setName(String name)
  73. {
  74. this.name = name;
  75. }
  76. public String getName()
  77. {
  78. return name;
  79. }
  80. public void setDeptId(Long deptId)
  81. {
  82. this.deptId = deptId;
  83. }
  84. public Long getDeptId()
  85. {
  86. return deptId;
  87. }
  88. public void setLocation(String location)
  89. {
  90. this.location = location;
  91. }
  92. public String getLocation()
  93. {
  94. return location;
  95. }
  96. public void setPro(Long pro)
  97. {
  98. this.pro = pro;
  99. }
  100. public Long getPro()
  101. {
  102. return pro;
  103. }
  104. public void setCity(Long city)
  105. {
  106. this.city = city;
  107. }
  108. public Long getCity()
  109. {
  110. return city;
  111. }
  112. public void setArea(Long area)
  113. {
  114. this.area = area;
  115. }
  116. public Long getArea()
  117. {
  118. return area;
  119. }
  120. public void setStatus(Integer status)
  121. {
  122. this.status = status;
  123. }
  124. public Integer getStatus()
  125. {
  126. return status;
  127. }
  128. public Boolean getCampus() {
  129. return campus;
  130. }
  131. public void setCampus(Boolean campus) {
  132. this.campus = campus;
  133. }
  134. @Override
  135. public String toString() {
  136. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  137. .append("id", getId())
  138. .append("name", getName())
  139. .append("deptId", getDeptId())
  140. .append("location", getLocation())
  141. .append("remark", getRemark())
  142. .append("pro", getPro())
  143. .append("city", getCity())
  144. .append("area", getArea())
  145. .append("status", getStatus())
  146. .append("createTime", getCreateTime())
  147. .append("updateTime", getUpdateTime())
  148. .toString();
  149. }
  150. }