<?php

namespace App\Models;

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

class MasterSetting extends Model
{
    use HasFactory;

    protected $fillable = [
        'field',
        'code',
        'type',
        'select_options',
        'default_value',
        'status',
        'remarks',
    ];

    public function advance_setting()
    {
          return $this->hasOne(AdvanceSetting::class);
    }
}
