| 1 | <?php |
||
| 7 | class Note extends Model |
||
| 8 | { |
||
| 9 | protected $table = 'notes'; |
||
| 10 | public $timestamps = true; |
||
| 11 | |||
| 12 | protected $fillable = ['user_id', 'author_id', 'private', 'alert', |
||
| 13 | 'comment', 'title', ]; |
||
| 14 | |||
| 15 | public function user() |
||
| 19 | |||
| 20 | public function author() |
||
| 24 | |||
| 25 | public function attachments() |
||
| 29 | |||
| 30 | public function training() |
||
| 34 | } |
||
| 35 |