From c8d6116f34cac94ba696034d70b42c0078cdab87 Mon Sep 17 00:00:00 2001 From: 劉鈞霖 <benson@gmail.com> Date: 星期四, 09 十二月 2021 15:31:43 +0800 Subject: [PATCH] [ Update ] : #Todo: 132092 && #Todo: 132135 safari and chrome 籃框問題修正 , #Todo:132137 顧問所在地區 input 增加 readonly 不需打開鍵盤 --- 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