<?php

namespace App\Models\dev\resyde;

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

class Payment extends Model
{
    use HasFactory;

    /**
     * Nombre de la tabla
     */
    protected $table = 'payments';

    /**
     * Clave primaria personalizada
     */
    protected $primaryKey = 'id';

    /**
     * Indica si el modelo debe usar timestamps automáticos
     */
    public $timestamps = false;

    /**
     * Los atributos que se pueden asignar masivamente
     */
    protected $fillable = [
        'tenant',
        'house',
        'year',
        'month',
        'expected_amount',
        'paid_amount',
        'balance',
        'date',
        'comments',
        'residente_id',
        'fec_registro',
        'forma_carga'
    ];
}

