From 86541ce0f13750d4c2d458e2bc4194ac7fd957d9 Mon Sep 17 00:00:00 2001 From: Mila <Mila@pollex.com.tw> Date: 星期六, 22 一月 2022 16:03:38 +0800 Subject: [PATCH] Merge branch 'Phase3' of https://192.168.0.10:8443/r/pcalife/PAM into Phase3 --- pamapi/src/main/java/com/pollex/pam/domain/Customer.java | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/domain/Customer.java b/pamapi/src/main/java/com/pollex/pam/domain/Customer.java index 9a94a8c..c3055cc 100644 --- a/pamapi/src/main/java/com/pollex/pam/domain/Customer.java +++ b/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) -- Gitblit v1.8.0