Product.java 478 B

1234567891011121314151617181920212223242526272829
  1. package J20250718.demo02_exception;
  2. /**
  3. * @author WanJl
  4. * @version 1.0
  5. * @title Product
  6. * @description
  7. * @create 2025/7/18
  8. */
  9. public class Product {
  10. private String name;
  11. private Integer count;
  12. public Integer getCount() {
  13. return count;
  14. }
  15. public void setCount(Integer count) {
  16. this.count = count;
  17. }
  18. public String getName() {
  19. return name;
  20. }
  21. public void setName(String name) {
  22. this.name = name;
  23. }
  24. }