|
|
@@ -1,14 +1,15 @@
|
|
|
package com.style24.persistence.domain;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.style24.admin.support.security.session.TsaSession;
|
|
|
import com.style24.core.support.util.CryptoUtils;
|
|
|
+import com.style24.core.support.util.MaskingUtils;
|
|
|
import com.style24.persistence.TscBaseDomain;
|
|
|
import com.style24.persistence.TscPageRequest;
|
|
|
-import lombok.Data;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.Collection;
|
|
|
+import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
* 쿠폰 도메인
|
|
|
@@ -65,6 +66,7 @@ public class Coupon extends TscBaseDomain {
|
|
|
private String custNo;
|
|
|
private String custNm;
|
|
|
private String custGbNm;
|
|
|
+ private String cellPhnno; // 휴대전화번호(탈퇴 시 NULL로 처리)
|
|
|
private String custGradeNm;
|
|
|
private String useYn;
|
|
|
private String usedDt;
|
|
|
@@ -121,6 +123,14 @@ public class Coupon extends TscBaseDomain {
|
|
|
this.custNm = CryptoUtils.decryptAES(this.custNm);
|
|
|
return this.custNm;
|
|
|
}
|
|
|
+ public String getCellPhnno() {
|
|
|
+ this.cellPhnno = CryptoUtils.decryptAES(this.cellPhnno);
|
|
|
+ return this.cellPhnno;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getMaskingCustNm() {
|
|
|
+ return TsaSession.getAttribute("maskingYn").equals("Y") ? MaskingUtils.name(getCustNm()) : getCustNm();
|
|
|
+ }
|
|
|
|
|
|
// 업체목록배열
|
|
|
@JsonFormat(with = JsonFormat.Feature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
|
|
|
@@ -136,4 +146,5 @@ public class Coupon extends TscBaseDomain {
|
|
|
private String supplyCompCd;
|
|
|
private String brandGroupNm;
|
|
|
|
|
|
+ private String regId;
|
|
|
}
|