Stage 2 console classes and the shared LoanPolicy, then a Spring Boot 4.1.2 + JPA API (H2, @Version optimistic locking, problem+json errors). Tests write output/ transcripts while asserting the same numbers; scripts regenerate everything. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4DPL6dtpFg4U4LHc2
15 lines
394 B
Plaintext
15 lines
394 B
Plaintext
add-book 978-0134685991|Effective Java|Joshua Bloch|2
|
|
add-book 978-0596009205|Head First Java|Kathy Sierra|1
|
|
add-book 978-0134685991|Effective Java|Joshua Bloch|2
|
|
add-member Asha
|
|
add-member Ravi
|
|
borrow 978-0596009205 1 2026-11-01
|
|
borrow 978-0596009205 2 2026-11-01
|
|
borrow 978-0134685991 1 2026-11-01
|
|
report
|
|
return 1 2026-11-20
|
|
return 1 2026-11-21
|
|
borrow 978-0596009205 2 2026-11-21
|
|
report
|
|
quit
|