<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Account extends Model
{
    use HasFactory;

    protected $table = 'Luv2_account';
    protected $fillable = [
        'id_company',
        'code',
        'nama',
    ];

    public function setting()
    {
        return $this->hasMany(Settings::class, 'id');
    }
}
