<?php

namespace App\Models;

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

class SettingPoint extends Model
{
    use HasFactory;

    protected $table = 'setting_points';

    protected $fillable = [
        'name',
        'source',
        'convert_to_point',
        'status',
    ];

    protected $casts = [
        'source' => 'decimal:2',
        'convert_to_point' => 'integer',
        'status' => 'boolean',
    ];
}
