codigo actual del servidor, con avances de joan
This commit is contained in:
15
app/Models/FlashDealTranslation.php
Normal file
15
app/Models/FlashDealTranslation.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class FlashDealTranslation extends Model
|
||||
{
|
||||
protected $fillable = ['title', 'lang', 'flash_deal_id'];
|
||||
|
||||
public function flash_deal(){
|
||||
return $this->belongsTo(FlashDeal::class);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user