保誠-保戶業務員媒合平台
wayne
2022-02-18 ae4db5435180c44b37f521c463b17f2023ac1d8c
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)