|
|
@@ -2,6 +2,7 @@ package com.style24.persistence.domain;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
+import com.style24.core.support.util.CryptoUtils;
|
|
|
import com.style24.persistence.TscBaseDomain;
|
|
|
|
|
|
import lombok.Data;
|
|
|
@@ -30,6 +31,7 @@ public class Login extends TscBaseDomain {
|
|
|
private String custGb; // 고객구분
|
|
|
private String custGbNm; // 고객구분명
|
|
|
private String custStat; // 고객상태
|
|
|
+ private String cellPhnno; // 휴대전화번호
|
|
|
private String email; // 이메일
|
|
|
private String snsType; // SNS유형
|
|
|
private String snsId; // SNS가입ID
|
|
|
@@ -42,4 +44,21 @@ public class Login extends TscBaseDomain {
|
|
|
private String loginFailYn; // 로그인실패여부
|
|
|
private String custGrade; // 고객등급
|
|
|
|
|
|
+ // 암호화 대상 복호화 처리 =================================================
|
|
|
+ public String getCustNm() {
|
|
|
+ this.custNm = CryptoUtils.decryptAES(this.custNm);
|
|
|
+ return this.custNm;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCellPhnno() {
|
|
|
+ this.cellPhnno = CryptoUtils.decryptAES(this.cellPhnno);
|
|
|
+ return this.cellPhnno;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getEmail() {
|
|
|
+ this.email = CryptoUtils.decryptAES(this.email);
|
|
|
+ return this.email;
|
|
|
+ }
|
|
|
+ // 암호화 대상 복호화 처리 =================================================
|
|
|
+
|
|
|
}
|