/*
 * 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 model.AbstractEntity;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import model.machine.Machine;

/**
 *
 * @author patri
 */
@Entity
public class TicketMachine extends AbstractEntity{
    @ManyToOne
    private Ticket ticket;

    @OneToOne
    private Machine machine;
    
    public TicketMachine() {
    }
    
    
}
