title: When making a POJO in Firebase, can you use ServerValue.TIMESTAMP?
body: <p>When you're making a Plain Old Java Object that's meant to be serialized from and deserialized to Firebase, is there a way to use the <code>ServerValue.TIMESTAMP</code> value?</p>
  
  <p>For example, let's say I want to have an object where one of the properties is the last time it was edited and you'd like to use the <code>ServerValue.TIMESTAMP</code> value.</p>
  
  <p>In the POJO class, you might have:</p>
  
  <pre><code>private String timeLastChanged;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>private Map&lt;String, String&gt; timeLastChanged;
  </code></pre>
  
  <p>In the first example with the <code>String</code>, I run into the issue of setting <code>timeLastChange = ServerValue.TIMESTAMP;</code>, because <code>ServerValue.TIMESTAMP</code> is a Map.</p>
  
  <p>In the second example with the <code>Map&lt;String, String&gt;</code> I get a "failed to debounce" error because it can't properly deserialize the long stored in the database into a <code>Map&lt;String, String&gt;</code>. Is there any work around for this?</p>