ZhongZhengUser.java 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. package org.zhongzheng.common.secure;
  2. //
  3. // Source code recreated from a .class file by IntelliJ IDEA
  4. // (powered by FernFlower decompiler)
  5. //
  6. import io.swagger.annotations.ApiModelProperty;
  7. import java.io.Serializable;
  8. public class ZhongZhengUser implements Serializable {
  9. private static final long serialVersionUID = 1L;
  10. @ApiModelProperty(
  11. hidden = true
  12. )
  13. private String clientId;
  14. @ApiModelProperty(
  15. hidden = true
  16. )
  17. private Long userId;
  18. @ApiModelProperty(
  19. hidden = true
  20. )
  21. private String tenantId;
  22. @ApiModelProperty(
  23. hidden = true
  24. )
  25. private String deptId;
  26. @ApiModelProperty(
  27. hidden = true
  28. )
  29. private String userName;
  30. @ApiModelProperty(
  31. hidden = true
  32. )
  33. private String account;
  34. @ApiModelProperty(
  35. hidden = true
  36. )
  37. private String roleId;
  38. @ApiModelProperty(
  39. hidden = true
  40. )
  41. private String roleName;
  42. public ZhongZhengUser() {
  43. }
  44. public String getClientId() {
  45. return this.clientId;
  46. }
  47. public Long getUserId() {
  48. return this.userId;
  49. }
  50. public String getTenantId() {
  51. return this.tenantId;
  52. }
  53. public String getDeptId() {
  54. return this.deptId;
  55. }
  56. public String getUserName() {
  57. return this.userName;
  58. }
  59. public String getAccount() {
  60. return this.account;
  61. }
  62. public String getRoleId() {
  63. return this.roleId;
  64. }
  65. public String getRoleName() {
  66. return this.roleName;
  67. }
  68. public void setClientId(final String clientId) {
  69. this.clientId = clientId;
  70. }
  71. public void setUserId(final Long userId) {
  72. this.userId = userId;
  73. }
  74. public void setTenantId(final String tenantId) {
  75. this.tenantId = tenantId;
  76. }
  77. public void setDeptId(final String deptId) {
  78. this.deptId = deptId;
  79. }
  80. public void setUserName(final String userName) {
  81. this.userName = userName;
  82. }
  83. public void setAccount(final String account) {
  84. this.account = account;
  85. }
  86. public void setRoleId(final String roleId) {
  87. this.roleId = roleId;
  88. }
  89. public void setRoleName(final String roleName) {
  90. this.roleName = roleName;
  91. }
  92. public boolean equals(final Object o) {
  93. if (o == this) {
  94. return true;
  95. } else if (!(o instanceof ZhongZhengUser)) {
  96. return false;
  97. } else {
  98. ZhongZhengUser other = (ZhongZhengUser)o;
  99. if (!other.canEqual(this)) {
  100. return false;
  101. } else {
  102. label107: {
  103. Object this$userId = this.getUserId();
  104. Object other$userId = other.getUserId();
  105. if (this$userId == null) {
  106. if (other$userId == null) {
  107. break label107;
  108. }
  109. } else if (this$userId.equals(other$userId)) {
  110. break label107;
  111. }
  112. return false;
  113. }
  114. Object this$clientId = this.getClientId();
  115. Object other$clientId = other.getClientId();
  116. if (this$clientId == null) {
  117. if (other$clientId != null) {
  118. return false;
  119. }
  120. } else if (!this$clientId.equals(other$clientId)) {
  121. return false;
  122. }
  123. Object this$tenantId = this.getTenantId();
  124. Object other$tenantId = other.getTenantId();
  125. if (this$tenantId == null) {
  126. if (other$tenantId != null) {
  127. return false;
  128. }
  129. } else if (!this$tenantId.equals(other$tenantId)) {
  130. return false;
  131. }
  132. label86: {
  133. Object this$deptId = this.getDeptId();
  134. Object other$deptId = other.getDeptId();
  135. if (this$deptId == null) {
  136. if (other$deptId == null) {
  137. break label86;
  138. }
  139. } else if (this$deptId.equals(other$deptId)) {
  140. break label86;
  141. }
  142. return false;
  143. }
  144. label79: {
  145. Object this$userName = this.getUserName();
  146. Object other$userName = other.getUserName();
  147. if (this$userName == null) {
  148. if (other$userName == null) {
  149. break label79;
  150. }
  151. } else if (this$userName.equals(other$userName)) {
  152. break label79;
  153. }
  154. return false;
  155. }
  156. label72: {
  157. Object this$account = this.getAccount();
  158. Object other$account = other.getAccount();
  159. if (this$account == null) {
  160. if (other$account == null) {
  161. break label72;
  162. }
  163. } else if (this$account.equals(other$account)) {
  164. break label72;
  165. }
  166. return false;
  167. }
  168. Object this$roleId = this.getRoleId();
  169. Object other$roleId = other.getRoleId();
  170. if (this$roleId == null) {
  171. if (other$roleId != null) {
  172. return false;
  173. }
  174. } else if (!this$roleId.equals(other$roleId)) {
  175. return false;
  176. }
  177. Object this$roleName = this.getRoleName();
  178. Object other$roleName = other.getRoleName();
  179. if (this$roleName == null) {
  180. if (other$roleName != null) {
  181. return false;
  182. }
  183. } else if (!this$roleName.equals(other$roleName)) {
  184. return false;
  185. }
  186. return true;
  187. }
  188. }
  189. }
  190. protected boolean canEqual(final Object other) {
  191. return other instanceof ZhongZhengUser;
  192. }
  193. public int hashCode() {
  194. int result = 1;
  195. Object $userId = this.getUserId();
  196. result = result * 59 + ($userId == null ? 43 : $userId.hashCode());
  197. Object $clientId = this.getClientId();
  198. result = result * 59 + ($clientId == null ? 43 : $clientId.hashCode());
  199. Object $tenantId = this.getTenantId();
  200. result = result * 59 + ($tenantId == null ? 43 : $tenantId.hashCode());
  201. Object $deptId = this.getDeptId();
  202. result = result * 59 + ($deptId == null ? 43 : $deptId.hashCode());
  203. Object $userName = this.getUserName();
  204. result = result * 59 + ($userName == null ? 43 : $userName.hashCode());
  205. Object $account = this.getAccount();
  206. result = result * 59 + ($account == null ? 43 : $account.hashCode());
  207. Object $roleId = this.getRoleId();
  208. result = result * 59 + ($roleId == null ? 43 : $roleId.hashCode());
  209. Object $roleName = this.getRoleName();
  210. result = result * 59 + ($roleName == null ? 43 : $roleName.hashCode());
  211. return result;
  212. }
  213. public String toString() {
  214. return "ZhongZhengUser(clientId=" + this.getClientId() + ", userId=" + this.getUserId() + ", tenantId=" + this.getTenantId() + ", deptId=" + this.getDeptId() + ", userName=" + this.getUserName() + ", account=" + this.getAccount() + ", roleId=" + this.getRoleId() + ", roleName=" + this.getRoleName() + ")";
  215. }
  216. }