Using Orm Model to Rewrite