保誠-保戶業務員媒合平台
wayne
2021-12-03 6576d44fb39c4875fa56eaa105956153bec3efd8
Merge branch '個資同意'

修改1個檔案
13 ■■■■■ 已變更過的檔案
pamapi/src/main/java/com/pollex/pam/domain/Customer.java 13 ●●●●● 修補檔 | 檢視 | 原始 | 究查 | 歷程
pamapi/src/main/java/com/pollex/pam/domain/Customer.java
@@ -51,6 +51,11 @@
    @JsonIgnore
    private Instant lastModifiedDate = Instant.now();
    @CreatedDate
    @Column(name = "agree_personal_information_time", updatable = false)
    @JsonIgnore
    private Instant agreePersonalInformationTime;
    public Long getId() {
        return id;
    }
@@ -107,6 +112,14 @@
        this.contactType = contactType;
    }
    public Instant getAgreePersonalInformationTime() {
        return agreePersonalInformationTime;
    }
    public void setAgreePersonalInformationTime(Instant agreePersonalInformationTime) {
        this.agreePersonalInformationTime = agreePersonalInformationTime;
    }
    public String toAccountString() {
        return Optional.ofNullable(getPhone())
                .filter(StringUtils::hasText)