<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SaleReturn extends Model
{
    protected $table = 'sale_returns';
    public $timestamps = false;

    protected $fillable = [
        'return_no', 'sale_id', 'invoice_no', 'customer_name', 'customer_phone',
        'customer_address', 'return_date', 'notes', 'refund_total', 'refund_method'
    ];

    public function items()
    {
        return $this->hasMany(SaleReturnItem::class);
    }
}
