I am looking for a standard way to communicate with another programmer that the class is essentially just a data container.
Take this simple class User, for example:
class User
{
public string userName { get; set; }
public string passPhrase { get; set; }
public Role role { get; set; }
}
"This component uses the User class, which is just a class (insert here).
I want to say “data model”, but I think it is too broad. Classes described as data models often have logic.
source
share