content: /*
   *  Copyright (C) 2016 Stichting Akvo (Akvo Foundation)
   *
   *  This file is part of Akvo Flow.
   *
   *  Akvo Flow is free software: you can redistribute it and modify it under the terms of
   *  the GNU Affero General Public License (AGPL) as published by the Free Software Foundation,
   *  either version 3 of the License or any later version.
   *
   *  Akvo FLOW is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
   *  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   *  See the GNU Affero General Public License included below for more details.
   *
   *  The full license text can also be seen at <http://www.gnu.org/licenses/agpl.html>.
   */
  
  package com.gallatinsystems.survey.domain;
  
  import java.util.List;
  
  import javax.jdo.annotations.PersistenceCapable;
  
  import com.gallatinsystems.framework.domain.BaseDomain;
  
  /**
   * An ApprovalStep entity stores information about the steps in set of data approvals. These steps
   * may or may not have to be executed in an ordered sequence.
   */
  @PersistenceCapable
  public class ApprovalStep extends BaseDomain {
  
      private static final long serialVersionUID = -5473782085204354921L;
  
      private long approvalGroupId;
  
      private int order;
  
      private String title;
  
      private List<Long> approverUserList;
  
      public long getApprovalGroupId() {
          return approvalGroupId;
      }
  
      public void setApprovalGroupId(long approvalGroupId) {
          this.approvalGroupId = approvalGroupId;
      }
  
      public int getOrder() {
          return order;
      }
  
      public void setOrder(int order) {
          this.order = order;
      }
  
      public String getTitle() {
          return title;
      }
  
      public void setTitle(String title) {
          this.title = title;
      }
  
      public List<Long> getApproverUserList() {
          return approverUserList;
      }
  
      public void setApproverUserList(List<Long> approverUserList) {
          this.approverUserList = approverUserList;
      }
  }
  