c3lf-system-3/app/File.php

28 lines
431 B
PHP
Raw Normal View History

2019-11-28 03:52:53 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class File extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'hash', 'iid'
];
2019-12-24 12:52:10 +00:00
protected $primaryKey = 'hash';
2019-11-28 03:52:53 +00:00
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
2019-12-01 17:37:11 +00:00
protected $hidden = ['created_at','updated_at'];
2019-11-28 03:52:53 +00:00
}