# Working with Model

Models typically live in the app directory. All Eloquent models extend Illuminate\Database\Eloquent\Model class.

Model

php artisan make:model Training

Model

Model used to define fillable attributes.

Model also can be used to define relationship

Model also can be used to to specify custom table.

Model also can be used to define mutator

Model also can be used to define local scope

Model