T4 template for domain model generation