Spaces:
Running
Running
Download app/Models/Like.php from lisatthu35/ewa: direct link, hf CLI and curl.
- Browser
- Download file 459 Bytes
-
https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Models/Like.php
- Command line
-
hf download hf://spaces/lisatthu35/ewa/app/Models/Like.php
-
curl -L -o Like.php https://huggingface.co/spaces/lisatthu35/ewa/resolve/main/app/Models/Like.php
459 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Factories\HasFactory; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Like extends BaseModel | |
| { | |
| protected $table = "likes"; | |
| protected $fillable =[ | |
| 'number_like', | |
| 'chapter_id', | |
| 'created_by', | |
| 'updated_by', | |
| 'created_at', | |
| 'updated_at', | |
| ]; | |
| public function chapter(){ | |
| return $this->belongsTo(Chapter::class,'chapter_id'); | |
| } | |
| } | |