the entity type 'user' requires a primary key to be defined if you intended to use code example
Example: The entity type 'Palavra' requires a primary key to be defined
public int Id { get; protected set; }
public int Id { get; protected set; }