Mapping between class properties and database fields

I have an object model that is exposed to the outside world and a database model. The association between classes and tables is not clear cut, as a matter of fact it is complicated. It is possible that, for a given class, some fields come from one table, other fields come from another table. And often the values need some transformations as the object model deals with enumerations while the values that come from the database are ints.

Is it possible in VP to specify the mapping between fields and class properties and eventually specify transformation functions?

Thanks