package org.exoplatform.cs.service.tickets;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ali
 * Date: 27/12/16
 * Time: 18:05
 */
public class Flow {
  private String name;
  private String defaultState;
  private List<FlowState> states;

  public Flow() {
  }

  public Flow(String name, String defaultState, List<FlowState> states) {
    this.name = name;
    this.defaultState = defaultState;
    this.states = states;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getDefaultState() {
    return defaultState;
  }

  public void setDefaultState(String defaultState) {
    this.defaultState = defaultState;
  }


  public List<FlowState> getStates() {
    return states;
  }

  public void setStates(List<FlowState> states) {
    this.states = states;
  }
}
