title: how to select this entity in repository
body: <p>How can I select <code>this</code> entity in when creating a repository method in typeorm?</p>
  <p>I am trying to select password property on Admin entity but <code>this</code> selects Repository not entity</p>
  <pre><code>@EntityRepository(Admin)
  export class AdminRepository extends Repository&lt;Admin&gt; {
  
    async comparePasswords(password: string): Promise&lt;boolean&gt; {
      return await compare(password, this.password);
    }
  
  }
  
  </code></pre>