BrandTranslation.php 241 B

1234567891011121314
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Model;
  4. class BrandTranslation extends Model
  5. {
  6. protected $fillable = ['name', 'lang', 'brand_id'];
  7. public function brand(){
  8. return $this->belongsTo(Brand::class);
  9. }
  10. }