| | |
| | | @JsonIgnore |
| | | private Instant lastModifiedDate = Instant.now(); |
| | | |
| | | @CreatedDate |
| | | @Column(name = "agree_personal_information_time", updatable = false) |
| | | @JsonIgnore |
| | | private Instant agreePersonalInformationTime; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | |
| | | 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) |