package model;

import java.time.LocalDateTime;
import java.util.List;

public class Venta {
    private int idVenta;
    private int idEvento;
    private LocalDateTime fechaVenta;
    private String vendedor;
    private List<Boleto> boletos;

    public void setIdVenta(int idVenta) {
        this.idVenta = idVenta;
    }

    public void setIdEvento(int idEvento) {
        this.idEvento = idEvento;
    }

    public void setFechaVenta(LocalDateTime fechaVenta) {
        this.fechaVenta = fechaVenta;
    }

    public void setBoletos(List<Boleto> boletos) {
        this.boletos = boletos;
    }

    public void setVendedor(String vendedor) {
        this.vendedor = vendedor;
    }

    public int getIdVenta() {
        return idVenta;
    }

    public int getIdEvento() {
        return idEvento;
    }

    public LocalDateTime getFechaVenta() {
        return fechaVenta;
    }

    public String getVendedor() {
        return vendedor;
    }

    public List<Boleto> getBoletos() {
        return boletos;
    }
    
    // métodos para agregar boletos, calcular total, etc.

}