암호화 대상 테이블 필드 추가
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.eactive.apim.portal.common.entity;
|
||||
|
||||
import com.eactive.eai.data.converter.LocalDateTimeToStringConverter14;
|
||||
import kjb.safedb.KjbNotRnnoJpaAttributeConverter;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.data.annotation.CreatedBy;
|
||||
@@ -33,6 +34,7 @@ public abstract class Auditable {
|
||||
* 최초등록자ID
|
||||
*/
|
||||
@Column(name = "created_by")
|
||||
@Convert(converter = KjbNotRnnoJpaAttributeConverter.class)
|
||||
@CreatedBy
|
||||
private String createdBy;
|
||||
|
||||
@@ -48,6 +50,7 @@ public abstract class Auditable {
|
||||
* 최종수정자ID
|
||||
*/
|
||||
@Column(name = "LAST_MODIFIED_BY")
|
||||
@Convert(converter = KjbNotRnnoJpaAttributeConverter.class)
|
||||
@LastModifiedBy
|
||||
private String lastModifiedBy;
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.eactive.apim.portal.portaluser.entity;
|
||||
|
||||
import com.eactive.eai.data.converter.LocalDateTimeToStringConverter14;
|
||||
import kjb.safedb.KjbNotRnnoJpaAttributeConverter;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -14,6 +15,7 @@ public class TwoFactorAuth {
|
||||
|
||||
@Id
|
||||
@Column(name = "recipient", length = 255)
|
||||
@Convert(converter = KjbNotRnnoJpaAttributeConverter.class)
|
||||
private String recipient;
|
||||
|
||||
@Column(name = "auth_number", length = 255)
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
package com.eactive.apim.portal.template.service;
|
||||
|
||||
import kjb.safedb.KjbNotRnnoJpaAttributeConverter;
|
||||
import lombok.*;
|
||||
|
||||
import javax.persistence.Convert;
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
@EqualsAndHashCode
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MessageRecipient {
|
||||
|
||||
private String username;
|
||||
private String userId; //email
|
||||
private String phone;
|
||||
|
||||
@@ -10,6 +10,8 @@ import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.TableGenerator;
|
||||
|
||||
import kjb.safedb.KjbNotRnnoJpaAttributeConverter;
|
||||
import lombok.Data;
|
||||
|
||||
@TableGenerator(
|
||||
@@ -30,6 +32,7 @@ public class UserLog {
|
||||
private Long logId;
|
||||
|
||||
@Column(name = "login_id", nullable = false)
|
||||
@Convert(converter = KjbNotRnnoJpaAttributeConverter.class)
|
||||
private String loginId;
|
||||
|
||||
@Column(name = "login_time")
|
||||
|
||||
Reference in New Issue
Block a user