title: In kotlin, how to make the setter of properties in primary constructor private?
body: <p>In kotlin, how to make the setter of properties in primary constructor private?</p>
  
  <pre><code>class City(val id: String, var name: String, var description: String = "") {
  
      fun update(name: String, description: String? = "") {
          this.name = name
          this.description = description ?: this.description
      }
  }
  </code></pre>
  
  <p>I  want the setter of properties <code>name</code> to be private, and the getter of it public, how can I do?</p>