Checkpoint: Added docs, improved ExchangeEntity

This commit is contained in:
2021-01-06 17:12:20 +01:00
parent b633d2c2df
commit 90f154f23b
3 changed files with 8 additions and 3 deletions

View File

@ -18,7 +18,7 @@ public class Exchange {
private Long id;
@OneToOne
@JoinColumn(name = "owned_id")
@JoinColumn(name = "owned_id", unique = true)
private Assignment ownedAssignment;
@OneToOne