/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model.ticket;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import model.AbstractEntity;
import model.company.Location;
import java.util.List;

/**
 *
 * @author patri
 */
@Entity
public class TicketLocation extends AbstractEntity{
    @ManyToOne
    private Ticket ticket;
    
    @OneToOne
    private Location location;

    
    private List<TicketMachine> machines;
    
    
    public TicketLocation() {
    }
    
    
}
