title: how to create custom queries in grails domain
body: <p>Is there a way to create a query in a grails domain that always returns the records that have a specific criteria? </p>
  
  <p>For example:</p>
  
  <pre><code>Class Person {
  
    String firstname
    String lastname
  }
  </code></pre>
  
  <p>Now instead of saying <code>Person.findByFirstname("Bart")</code> all over the codebase is there anything I can do inside the <code>Person</code> domain class so that I can simply say something like <code>Person.bart</code></p>