Error an Todo App with Core Data

I receive an error called “Use of unresolved identifier ‘Todo’”.
help please.

//: Mark: - Save Button

            Button (action:  {

if != “” {

                let todo  = Todo(context: self.managedObjectContext) => "Use of unresolved identifier 'Todo'"

                todo.priority = self.priority

Can you provide a bit more of your SwiftUI code so that it gives a better idea of what you are trying to do.