| package org.eclipse.openk.contactbasedata.viewmodel; |
| |
| import com.fasterxml.jackson.annotation.JsonProperty; |
| import lombok.Data; |
| |
| import java.io.Serializable; |
| import java.util.UUID; |
| |
| @Data |
| public class ExternalPersonDto implements Serializable { |
| |
| @JsonProperty("id") |
| private UUID uuid; |
| private String firstName; |
| private String lastName; |
| private String title; |
| |
| //from Contact |
| @JsonProperty("contactId") |
| private UUID contactUuid; |
| private String contactType; |
| private String contactNote; |
| |
| // from RefPersonType |
| @JsonProperty("personTypeId") |
| private UUID personTypeUuid; |
| private String personType; |
| |
| //from RefSalutation |
| @JsonProperty("salutationId") |
| private UUID salutationUuid; |
| private String salutationType; |
| } |