Skip to content

Instantly share code, notes, and snippets.

Created January 28, 2018 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3319b123aabc4fba9ad1dd4c1fccfae3 to your computer and use it in GitHub Desktop.
Save anonymous/3319b123aabc4fba9ad1dd4c1fccfae3 to your computer and use it in GitHub Desktop.
package com.myawesomepubliclibrary.employee
final class BookCopy {
private EntryNumber entryNumber;
private Status status;
public BookCopy(EntryNumber entryNumber, Status status) {
this.entryNumber = entryNumber;
this.status = status;
}
}
enum Status {
Available, Lent
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment