ng g class name code example
Example 1: angular generat model
ng generate class hero --type=model
Example 2: ng generate component
ng g component [component name]
ng generate class hero --type=model
ng g component [component name]