|
@ -2,8 +2,10 @@ package com.yihu.jw.entity.base.patient;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.yihu.jw.entity.UuidIdentityEntityWithOperator;
|
|
import com.yihu.jw.entity.UuidIdentityEntityWithOperator;
|
|
|
|
import com.yihu.jw.entity.util.StringFStringEncryptConverter;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Convert;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.Table;
|
|
import javax.persistence.Table;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
@ -285,6 +287,7 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "idcard")
|
|
@Column(name = "idcard")
|
|
|
|
@Convert(converter = StringFStringEncryptConverter.class)
|
|
public String getIdcard() {
|
|
public String getIdcard() {
|
|
return idcard;
|
|
return idcard;
|
|
}
|
|
}
|
|
@ -312,6 +315,7 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "name")
|
|
@Column(name = "name")
|
|
|
|
@Convert(converter = StringFStringEncryptConverter.class)
|
|
public String getName() {
|
|
public String getName() {
|
|
return name;
|
|
return name;
|
|
}
|
|
}
|
|
@ -340,6 +344,7 @@ public class BasePatientDO extends UuidIdentityEntityWithOperator {
|
|
}
|
|
}
|
|
|
|
|
|
@Column(name = "mobile")
|
|
@Column(name = "mobile")
|
|
|
|
@Convert(converter = StringFStringEncryptConverter.class)
|
|
public String getMobile() {
|
|
public String getMobile() {
|
|
return mobile;
|
|
return mobile;
|
|
}
|
|
}
|