12345678910111213141516171819202122232425262728293031323334353637
  1. public class Item {
  2. private String name;
  3. private int sellIn;
  4. private int quality;
  5. public Item(String name, int sellIn, int quality) {
  6. super();
  7. this.name = name;
  8. this.sellIn = sellIn;
  9. this.quality = quality;
  10. }
  11. public String getName() {
  12. return name;
  13. }
  14. public void setName(String name) {
  15. this.name = name;
  16. }
  17. public int getSellIn() {
  18. return sellIn;
  19. }
  20. public void setSellIn(int sellIn) {
  21. this.sellIn = sellIn;
  22. }
  23. public int getQuality() {
  24. return quality;
  25. }
  26. public void setQuality(int quality) {
  27. this.quality = quality;
  28. }
  29. }