title: How to write a custom getter if class properties are defined in the constructor?
body: <p>I have been writing an app where at first I declared the class signature as below</p>
  
  <pre><code>data class MClass(val id: Int = 0,val descr: String, val timestamp: Long) 
  </code></pre>
  
  <p>Now a need was created where I must have a custom getter for a field above. How can I write this custom getter? I know that If otherwise I could write something like </p>
  
  <pre><code>data class(){
       val id=0
       val descr = ""
       get() = descr + "append smth"
  
       val timestamp:Long = 0
  
  }
  </code></pre>