title: How can I get values from a TypeORM property decorator
body: <pre class="lang-js prettyprint-override"><code>import { PrimaryColumn, Column } from 'typeorm';
  
  export class LocationStatus {
    @PrimaryColumn({ name: 'location_id' })
    locationId: string;
  
    @Column({ name: 'area_code', type: 'int' })
    areaCode: number;
  }
  </code></pre>
  <p>I spent the past few hours trying to figure it out how to retrieve a name property value <code>location_id</code> and <code>area_code</code> from a property decorator <code>@Column()</code>, but no luck. I'm not sure whether it's even possible to get a list of properties or not.</p>