|
@ -2,14 +2,10 @@ package com.yihu.jw.entity.base.patient;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yihu.jw.entity.UuidIdentityEntityWithOperator;
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
import org.hibernate.validator.constraints.Range;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import javax.validation.constraints.Size;
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
@ -229,17 +225,17 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
|
|
|
/**
|
|
|
* 账号是否被锁定
|
|
|
*/
|
|
|
private int locked;
|
|
|
private Integer locked;
|
|
|
|
|
|
/**
|
|
|
* 是否可以登录
|
|
|
*/
|
|
|
private int enabled;
|
|
|
private Integer enabled;
|
|
|
|
|
|
/**
|
|
|
* 登录失败次数
|
|
|
*/
|
|
|
private int loginFailureCount;
|
|
|
private Integer loginFailureCount;
|
|
|
|
|
|
/**
|
|
|
* 锁定日期
|
|
@ -568,27 +564,27 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
|
|
|
this.liveStreetName = liveStreetName;
|
|
|
}
|
|
|
|
|
|
public int getLocked() {
|
|
|
public Integer getLocked() {
|
|
|
return locked;
|
|
|
}
|
|
|
|
|
|
public void setLocked(int locked) {
|
|
|
public void setLocked(Integer locked) {
|
|
|
this.locked = locked;
|
|
|
}
|
|
|
|
|
|
public int getEnabled() {
|
|
|
public Integer getEnabled() {
|
|
|
return enabled;
|
|
|
}
|
|
|
|
|
|
public void setEnabled(int enabled) {
|
|
|
public void setEnabled(Integer enabled) {
|
|
|
this.enabled = enabled;
|
|
|
}
|
|
|
|
|
|
public int getLoginFailureCount() {
|
|
|
public Integer getLoginFailureCount() {
|
|
|
return loginFailureCount;
|
|
|
}
|
|
|
|
|
|
public void setLoginFailureCount(int loginFailureCount) {
|
|
|
public void setLoginFailureCount(Integer loginFailureCount) {
|
|
|
this.loginFailureCount = loginFailureCount;
|
|
|
}
|
|
|
|