We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 7 | class Post extends Model |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Tabela usada pelo model Post. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $table = 'posts'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Campos da tabela 'posts' que serão diretamente usados pelo Model. |
||
| 18 | * |
||
| 19 | * @var array |
||
| 20 | */ |
||
| 21 | protected $filliable = [ |
||
| 22 | 'user_id', |
||
| 23 | 'title', |
||
| 24 | 'content', |
||
| 25 | 'image' |
||
| 26 | ]; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Related |
||
| 30 | * |
||
| 31 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 32 | */ |
||
| 33 | public function author() |
||
| 37 | } |
||
| 38 |