Child.java 951 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package com.szwl.model.bean;
  2. import io.swagger.annotations.ApiModelProperty;
  3. import lombok.Getter;
  4. import lombok.NoArgsConstructor;
  5. import lombok.Setter;
  6. import lombok.ToString;
  7. import lombok.experimental.Accessors;
  8. import java.util.List;
  9. @Accessors(chain = true)
  10. @NoArgsConstructor
  11. @Getter
  12. @Setter
  13. @ToString
  14. public class Child {
  15. @ApiModelProperty(value="id")
  16. private Long id;
  17. @ApiModelProperty(value="名称")
  18. private String name;
  19. @ApiModelProperty(value="机器列表")
  20. private List<Childlast> children;
  21. public Long getId() {
  22. return id;
  23. }
  24. public void setId(Long id) {
  25. this.id = id;
  26. }
  27. public String getName() {
  28. return name;
  29. }
  30. public void setName(String name) {
  31. this.name = name;
  32. }
  33. public List<Childlast> getChildren() {
  34. return children;
  35. }
  36. public void setChildren(List<Childlast> children) {
  37. this.children = children;
  38. }
  39. }