Skip to content

Commit

Permalink
♻️ refactor: 移除未使用的方法
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed May 17, 2024
1 parent 0008d25 commit b48e7a6
Showing 1 changed file with 0 additions and 81 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
package com.platform.boot.security.core.user;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
import com.platform.boot.security.core.UserAuditor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
* @author <a href="https://github.com/vnobo">Alex bob</a>
*/
Expand All @@ -17,87 +13,10 @@
@ToString(callSuper = true)
public class UserResponse extends User {

@JsonIgnore
@Override
public String getPhone() {
return super.getPhone();
}

@JsonIgnore
@Override
public String getEmail() {
return super.getEmail();
}

@JsonIgnore
@Override
public String getPassword() {
return super.getPassword();
}

@JsonIgnore
@Override
public String getUsername() {
return super.getUsername();
}

@JsonIgnore
@Override
public Boolean getDisabled() {
return super.getDisabled();
}

@JsonIgnore
@Override
public Boolean getAccountExpired() {
return super.getAccountExpired();
}

@JsonIgnore
@Override
public Boolean getAccountLocked() {
return super.getAccountLocked();
}

@JsonIgnore
@Override
public Boolean getCredentialsExpired() {
return super.getCredentialsExpired();
}

@JsonIgnore
@Override
public JsonNode getExtend() {
return super.getExtend();
}

@JsonIgnore
@Override
public LocalDateTime getLoginTime() {
return super.getLoginTime();
}

@JsonIgnore
@Override
public UserAuditor getCreator() {
return super.getCreator();
}

@JsonIgnore
@Override
public UserAuditor getUpdater() {
return super.getUpdater();
}

@JsonIgnore
@Override
public LocalDateTime getUpdatedTime() {
return super.getUpdatedTime();
}

@JsonIgnore
@Override
public LocalDateTime getCreatedTime() {
return super.getCreatedTime();
}
}

0 comments on commit b48e7a6

Please sign in to comment.