{% include analytics.html %}
Input | Case | Class Name | Model File Names |
---|---|---|---|
MyModel |
Input remains the same | MyModel |
my-model.model.ts |
my_model |
Underscores get removed | MyModel |
my-model.model.ts |
mymódel |
Accented characters get replaced | Mymodel |
mymodel.model.ts |
Car4share |
Input contains digits | Car4Share |
car-4-share.model.ts |
MyModel2 |
Input ends with digits | MyModel2 |
my-model2.model.ts |
My-Model |
Class name cannot contain some symbols | Invalid | Invalid |
4user |
Class name cannot start with a number | Invalid | Invalid |