|  |  | 
 |  |  | import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel; | 
 |  |  | import com.genersoft.iot.vmp.utils.node.INode; | 
 |  |  | import io.swagger.annotations.ApiModel; | 
 |  |  | import lombok.Data; | 
 |  |  | import lombok.EqualsAndHashCode; | 
 |  |  |  | 
 |  |  | import java.util.ArrayList; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @Data | 
 |  |  | @EqualsAndHashCode(callSuper = true) | 
 |  |  | @ApiModel(value = "DeviceChannelTree对象", description = "DeviceChannelTree对象") | 
 |  |  | public class DeviceChannelTree extends DeviceChannel implements INode<DeviceChannelTree> { | 
 |  |  |     private static final long serialVersionUID = 1L; | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * 主键ID | 
 |  |  |      */ | 
 |  |  |     private String id; | 
 |  |  |     private int id; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 父节点ID | 
 |  |  | 
 |  |  |             return this.hasChildren; | 
 |  |  |         } | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public int getId() { | 
 |  |  |         return id; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public void setId(int id) { | 
 |  |  |         this.id = id; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public String getParentId() { | 
 |  |  |         return parentId; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public void setParentId(String parentId) { | 
 |  |  |         this.parentId = parentId; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getParentName() { | 
 |  |  |         return parentName; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setParentName(String parentName) { | 
 |  |  |         this.parentName = parentName; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getTitle() { | 
 |  |  |         return title; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setTitle(String title) { | 
 |  |  |         this.title = title; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getKey() { | 
 |  |  |         return key; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setKey(String key) { | 
 |  |  |         this.key = key; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getValue() { | 
 |  |  |         return value; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setValue(String value) { | 
 |  |  |         this.value = value; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setChildren(List<DeviceChannelTree> children) { | 
 |  |  |         this.children = children; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setHasChildren(Boolean hasChildren) { | 
 |  |  |         this.hasChildren = hasChildren; | 
 |  |  |     } | 
 |  |  | } |