Change PropertyType with enum to int