add mapping for ORM
Merge pull request #1 from WriteOrRead/mapping

add mapping for ORM