tethys/app/Models/HashValue.php
2020-06-10 21:09:10 +02:00

18 lines
303 B
PHP

<?php
namespace App\Models;
use App\Models\File;
use Illuminate\Database\Eloquent\Model;
class HashValue extends Model
{
protected $table = 'file_hashvalues';
public $timestamps = false;
public function file()
{
return $this->belongsTo(File::class, 'file_id', 'id');
}
}