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