The basis of the definition is the system's demand specifications, and you can find the customs needed by analyzing the demand documentation.
1. Is there information necessary to store or analyze? If there is information that needs to be stored, analyzed, or processed, then this information is likely to be a class. The information you will talk about here can be concept (this concept is always in the system) or event or transaction (it happens at some point)
2. Is there an external system? If so, the external system can be seen as a class, which can be the class included in this system, or a class interacting with this system.
3, have there any template, class library, component, etc. If there are these things on your hand, they should usually be used as a class. Templates, class libraries, components can come from the original project, or someone to give or buy from the manufacturer.
4. Does the system have been controlled in the system? Any device that is connected to the system has a corresponding class. Through these types of control devices.
5, there is an organizational institution that needs to be expressed? It is used in a computer system to use the organization to usually use classes, especially when building business models.
6. What roles do you have in the system? These roles can also be viewed. For example, users, system operators, customers, etc.