added lengths to string properties in the entity model