Consider the two classes below:
class TerminalMaintenance{ @Id @Column(name="id") @GeneratedValue(strategy = GenerationType.SEQUENCE, g