Base trait to define a model having an ID (i.e.: Entity).
A dead simple lens to provide a getter and a setter for lifecycle model/table fields like 'id' and 'version'.
A dead simple lens to provide a getter and a setter for lifecycle model/table fields like 'id' and 'version'.
This implementation is by no means target as a general Lens library. It's sole purpose is to provide an abstraction for setting and getting first level fields on an arbitrary model.
Base trait to define a model having an ID (i.e.: Entity). The ID is defined as a type alias as it needs to be accessed by ActiveSlick via type projection when mapping to database tables.