e4158b19f60db6cef60ae03eee66ff17513db75d
[sdc/sdc-workflow-designer.git] /
1 package org.onap.sdc.workflow.persistence.types;
2
3 import java.util.Collection;
4 import java.util.Date;
5 import lombok.Data;
6
7
8 @Data
9 public class WorkflowVersion {
10
11     private String id;
12     private String name;
13     private String description;
14     private String baseId;
15     private Date creationTime;
16     private Date modificationTime;
17     private WorkflowVersionState state;
18     private Collection<ParameterEntity> inputs;
19     private Collection<ParameterEntity> outputs;
20
21
22     public WorkflowVersion(String id) {
23         this.id = id;
24         this.state = WorkflowVersionState.DRAFT;
25     }
26
27     public WorkflowVersion() {
28     }
29 }