content: package com.alibaba.json.test.codegen;
  
  import java.util.ArrayList;
  import java.util.List;
  
  public class Department {
  
      private int            id;
      private String         name;
  
      private boolean        root;
  
      private Employee       leader;
  
      private DepartmentType type;
  
      private List<Employee> members = new ArrayList<Employee>();
  
      public int getId() {
          return id;
      }
  
      public void setId(int id) {
          this.id = id;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public boolean isRoot() {
          return root;
      }
  
      public void setRoot(boolean root) {
          this.root = root;
      }
  
      public Employee getLeader() {
          return leader;
      }
  
      public void setLeader(Employee leader) {
          this.leader = leader;
      }
  
      public List<Employee> getMembers() {
          return members;
      }
  
      public void setMembers(List<Employee> members) {
          this.members = members;
      }
  
      public DepartmentType getType() {
          return type;
      }
  
      public void setType(DepartmentType type) {
          this.type = type;
      }
  
  }
  