title: How to map multiple columns to one field using @Column annotation?
body: <p>As a result from MySQL I have three fields (for example <strong>link1</strong>, <strong>link2</strong> and <strong>link3</strong>) and I want to store only one of them in <strong>link</strong> variable depending on some rules. This is the code now for a single field:</p>
  
  <pre><code>@Column(name = "link1")
  @JsonProperty("link")
  private String link;
  </code></pre>
  
  <p>I have to compate values in <strong>link1</strong>, <strong>link2</strong> and <strong>link3</strong> and decide which of them to store in <strong>link</strong>. How can I do it?</p>