model fields with type