Is it possible to use getter in the model class?
That is an interesting setup. Unfortunately, due to the way peewee uses metaclasses, you cannot define your fields in `__init__`.  I assume in practice there's a reason you're using a property -- perhaps to modify the value in the database column? Try:

``` python

class Location(db.Model):
    name_column = CharField(unique=True)

    class Meta:
        db_table = 'locations'

    @property
    def name(self):
        return self.name_column
```

Hi, I've tried to use @propery decorator with getter function:

``` python
class Location(db.Model):
    def __init__(self):
        self._name = CharField(unique = True)

    @property
    def name(self):
        return self._name

    class Meta:
        db_table = 'locations'
```

but got the following SQL query 
`<SELECT t1.`id`FROM`locations`AS t1 WHERE ('<property object at 0x031E0E40>' = 'loc01')>`
Could you please provide an example for getter? Thanks in advance!
