package com.qianwen.smartman.modules.system.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModel;
|
import java.io.Serializable;
|
|
@ApiModel(value = "UserSimpleVO", description = "UserSimpleVO对象")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/vo/UserSimpleVO.class */
|
public class UserSimpleVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long id;
|
private String code;
|
private String account;
|
private String name;
|
private String realName;
|
private String avatar;
|
private String email;
|
private String phone;
|
private String roleId;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setAccount(final String account) {
|
this.account = account;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setRealName(final String realName) {
|
this.realName = realName;
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public void setEmail(final String email) {
|
this.email = email;
|
}
|
|
public void setPhone(final String phone) {
|
this.phone = phone;
|
}
|
|
public void setRoleId(final String roleId) {
|
this.roleId = roleId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof UserSimpleVO) {
|
UserSimpleVO other = (UserSimpleVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$account = getAccount();
|
Object other$account = other.getAccount();
|
if (this$account == null) {
|
if (other$account != null) {
|
return false;
|
}
|
} else if (!this$account.equals(other$account)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$realName = getRealName();
|
Object other$realName = other.getRealName();
|
if (this$realName == null) {
|
if (other$realName != null) {
|
return false;
|
}
|
} else if (!this$realName.equals(other$realName)) {
|
return false;
|
}
|
Object this$avatar = getAvatar();
|
Object other$avatar = other.getAvatar();
|
if (this$avatar == null) {
|
if (other$avatar != null) {
|
return false;
|
}
|
} else if (!this$avatar.equals(other$avatar)) {
|
return false;
|
}
|
Object this$email = getEmail();
|
Object other$email = other.getEmail();
|
if (this$email == null) {
|
if (other$email != null) {
|
return false;
|
}
|
} else if (!this$email.equals(other$email)) {
|
return false;
|
}
|
Object this$phone = getPhone();
|
Object other$phone = other.getPhone();
|
if (this$phone == null) {
|
if (other$phone != null) {
|
return false;
|
}
|
} else if (!this$phone.equals(other$phone)) {
|
return false;
|
}
|
Object this$roleId = getRoleId();
|
Object other$roleId = other.getRoleId();
|
return this$roleId == null ? other$roleId == null : this$roleId.equals(other$roleId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UserSimpleVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $code = getCode();
|
int result2 = (result * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $account = getAccount();
|
int result3 = (result2 * 59) + ($account == null ? 43 : $account.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $realName = getRealName();
|
int result5 = (result4 * 59) + ($realName == null ? 43 : $realName.hashCode());
|
Object $avatar = getAvatar();
|
int result6 = (result5 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $email = getEmail();
|
int result7 = (result6 * 59) + ($email == null ? 43 : $email.hashCode());
|
Object $phone = getPhone();
|
int result8 = (result7 * 59) + ($phone == null ? 43 : $phone.hashCode());
|
Object $roleId = getRoleId();
|
return (result8 * 59) + ($roleId == null ? 43 : $roleId.hashCode());
|
}
|
|
public String toString() {
|
return "UserSimpleVO(id=" + getId() + ", code=" + getCode() + ", account=" + getAccount() + ", name=" + getName() + ", realName=" + getRealName() + ", avatar=" + getAvatar() + ", email=" + getEmail() + ", phone=" + getPhone() + ", roleId=" + getRoleId() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getAccount() {
|
return this.account;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getRealName() {
|
return this.realName;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public String getEmail() {
|
return this.email;
|
}
|
|
public String getPhone() {
|
return this.phone;
|
}
|
|
public String getRoleId() {
|
return this.roleId;
|
}
|
}
|