123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- package com.szwl.model.bean;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Getter;
- import lombok.NoArgsConstructor;
- import lombok.Setter;
- import lombok.ToString;
- import lombok.experimental.Accessors;
- import java.util.List;
- @Accessors(chain = true)
- @NoArgsConstructor
- @Getter
- @Setter
- @ToString
- public class Child {
- @ApiModelProperty(value="id")
- private Long id;
- @ApiModelProperty(value="名称")
- private String name;
- @ApiModelProperty(value="机器列表")
- private List<Childlast> children;
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public List<Childlast> getChildren() {
- return children;
- }
- public void setChildren(List<Childlast> children) {
- this.children = children;
- }
- }
|