KUJUNTI.ID MINISH3LL
Path : /var/www/html/jewelry-pos/app/Models/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/html/jewelry-pos/app/Models/Currency.php


<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Currency extends Model
{
    use HasFactory ,SoftDeletes;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'name','currency_symbol','exchange_in_rate','exchange_out_rate', 'image','is_active','user_id','is_based'
    ];
    public function user()
    {
        return $this->belongsTo(User::class);
    }
}

© KUJUNTI.ID