package com.qianwen.smartman.modules.system.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@TableName("blade_user_oauth")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/system/entity/UserOauth.class */
|
public class UserOauth implements Serializable {
|
private static final long serialVersionUID = 1;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("主键")
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
private String tenantId;
|
private String uuid;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("用户主键")
|
private Long userId;
|
private String username;
|
private String nickname;
|
private String avatar;
|
private String blog;
|
private String company;
|
private String location;
|
private String email;
|
private String remark;
|
private String gender;
|
private String source;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public void setUuid(final String uuid) {
|
this.uuid = uuid;
|
}
|
|
public void setUserId(final Long userId) {
|
this.userId = userId;
|
}
|
|
public void setUsername(final String username) {
|
this.username = username;
|
}
|
|
public void setNickname(final String nickname) {
|
this.nickname = nickname;
|
}
|
|
public void setAvatar(final String avatar) {
|
this.avatar = avatar;
|
}
|
|
public void setBlog(final String blog) {
|
this.blog = blog;
|
}
|
|
public void setCompany(final String company) {
|
this.company = company;
|
}
|
|
public void setLocation(final String location) {
|
this.location = location;
|
}
|
|
public void setEmail(final String email) {
|
this.email = email;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setGender(final String gender) {
|
this.gender = gender;
|
}
|
|
public void setSource(final String source) {
|
this.source = source;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof UserOauth) {
|
UserOauth other = (UserOauth) 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$userId = getUserId();
|
Object other$userId = other.getUserId();
|
if (this$userId == null) {
|
if (other$userId != null) {
|
return false;
|
}
|
} else if (!this$userId.equals(other$userId)) {
|
return false;
|
}
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
if (this$tenantId == null) {
|
if (other$tenantId != null) {
|
return false;
|
}
|
} else if (!this$tenantId.equals(other$tenantId)) {
|
return false;
|
}
|
Object this$uuid = getUuid();
|
Object other$uuid = other.getUuid();
|
if (this$uuid == null) {
|
if (other$uuid != null) {
|
return false;
|
}
|
} else if (!this$uuid.equals(other$uuid)) {
|
return false;
|
}
|
Object this$username = getUsername();
|
Object other$username = other.getUsername();
|
if (this$username == null) {
|
if (other$username != null) {
|
return false;
|
}
|
} else if (!this$username.equals(other$username)) {
|
return false;
|
}
|
Object this$nickname = getNickname();
|
Object other$nickname = other.getNickname();
|
if (this$nickname == null) {
|
if (other$nickname != null) {
|
return false;
|
}
|
} else if (!this$nickname.equals(other$nickname)) {
|
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$blog = getBlog();
|
Object other$blog = other.getBlog();
|
if (this$blog == null) {
|
if (other$blog != null) {
|
return false;
|
}
|
} else if (!this$blog.equals(other$blog)) {
|
return false;
|
}
|
Object this$company = getCompany();
|
Object other$company = other.getCompany();
|
if (this$company == null) {
|
if (other$company != null) {
|
return false;
|
}
|
} else if (!this$company.equals(other$company)) {
|
return false;
|
}
|
Object this$location = getLocation();
|
Object other$location = other.getLocation();
|
if (this$location == null) {
|
if (other$location != null) {
|
return false;
|
}
|
} else if (!this$location.equals(other$location)) {
|
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$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
return false;
|
}
|
Object this$gender = getGender();
|
Object other$gender = other.getGender();
|
if (this$gender == null) {
|
if (other$gender != null) {
|
return false;
|
}
|
} else if (!this$gender.equals(other$gender)) {
|
return false;
|
}
|
Object this$source = getSource();
|
Object other$source = other.getSource();
|
return this$source == null ? other$source == null : this$source.equals(other$source);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof UserOauth;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $userId = getUserId();
|
int result2 = (result * 59) + ($userId == null ? 43 : $userId.hashCode());
|
Object $tenantId = getTenantId();
|
int result3 = (result2 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
Object $uuid = getUuid();
|
int result4 = (result3 * 59) + ($uuid == null ? 43 : $uuid.hashCode());
|
Object $username = getUsername();
|
int result5 = (result4 * 59) + ($username == null ? 43 : $username.hashCode());
|
Object $nickname = getNickname();
|
int result6 = (result5 * 59) + ($nickname == null ? 43 : $nickname.hashCode());
|
Object $avatar = getAvatar();
|
int result7 = (result6 * 59) + ($avatar == null ? 43 : $avatar.hashCode());
|
Object $blog = getBlog();
|
int result8 = (result7 * 59) + ($blog == null ? 43 : $blog.hashCode());
|
Object $company = getCompany();
|
int result9 = (result8 * 59) + ($company == null ? 43 : $company.hashCode());
|
Object $location = getLocation();
|
int result10 = (result9 * 59) + ($location == null ? 43 : $location.hashCode());
|
Object $email = getEmail();
|
int result11 = (result10 * 59) + ($email == null ? 43 : $email.hashCode());
|
Object $remark = getRemark();
|
int result12 = (result11 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $gender = getGender();
|
int result13 = (result12 * 59) + ($gender == null ? 43 : $gender.hashCode());
|
Object $source = getSource();
|
return (result13 * 59) + ($source == null ? 43 : $source.hashCode());
|
}
|
|
public String toString() {
|
return "UserOauth(id=" + getId() + ", tenantId=" + getTenantId() + ", uuid=" + getUuid() + ", userId=" + getUserId() + ", username=" + getUsername() + ", nickname=" + getNickname() + ", avatar=" + getAvatar() + ", blog=" + getBlog() + ", company=" + getCompany() + ", location=" + getLocation() + ", email=" + getEmail() + ", remark=" + getRemark() + ", gender=" + getGender() + ", source=" + getSource() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
|
public String getUuid() {
|
return this.uuid;
|
}
|
|
public Long getUserId() {
|
return this.userId;
|
}
|
|
public String getUsername() {
|
return this.username;
|
}
|
|
public String getNickname() {
|
return this.nickname;
|
}
|
|
public String getAvatar() {
|
return this.avatar;
|
}
|
|
public String getBlog() {
|
return this.blog;
|
}
|
|
public String getCompany() {
|
return this.company;
|
}
|
|
public String getLocation() {
|
return this.location;
|
}
|
|
public String getEmail() {
|
return this.email;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public String getGender() {
|
return this.gender;
|
}
|
|
public String getSource() {
|
return this.source;
|
}
|
}
|