Remarks.php 255 B

12345678910111213141516
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class Remarks extends Model
  5. {
  6. protected $table="remarks";
  7. public $timestamps = false;
  8. function user()
  9. {
  10. return $this->belongsTo('App\User','user_id');
  11. }
  12. }