@Entity public class Ticket extends Object implements Serializable
A ticket represents a seat sold for a particular price.
| Constructor and Description |
|---|
Ticket()
No-arg constructor for persistence
|
Ticket(float price) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getId() |
float |
getPrice() |
void |
setId(Long id) |
void |
setPrice(float price) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.