|Classes of Fernando Val||>||Springy||>||documentation/en/Models.md||>||Download|
Model is part of MVC architecture of the framework. They are objects representing business data, rules and logic.
You can create model classes by extending Springy\\Model or its child classes.
The script files of your models must be located in the classes directory.
The names of the files must be correspondent to the name of the model, followed by the extension .php.
The follow example show a simple model code: