added enum types in models