This repository has been archived on 2020-08-02. You can view files and clone it, but cannot push or open issues or pull requests.
e-commerce/prototype/src/main/java/org/hso/ecommerce/entities/BookingReason.java

28 lines
550 B
Java

package org.hso.ecommerce.entities;
import javax.persistence.*;
@Entity
@Table(name = "booking_reasons")
public class BookingReason {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Basic
public long id;
public boolean isManuel;
public boolean isStartBooking;
public String comment;
@ManyToOne(optional = true)
public CustomerOrder customerOrder;
@ManyToOne(optional = true)
public CustomerPayment customerPayment;
@ManyToOne(optional = true)
public SupplierOrder supplierOrder;
}