package kr.wisestone.owl.web.condition; import kr.wisestone.owl.util.ConvertUtil; import java.util.Map; /** * Created by wisestone on 2018-05-10. */ public class WorkflowCondition { private Long id; private String name; private Integer page; private Integer pageSize; private String deep; // 상세 조회에서 가져올 데이터의 종류를 결정한다. private Long workspaceId; public WorkflowCondition(){} public static WorkflowCondition make(Map conditions) { WorkflowCondition condition = ConvertUtil.convertMapToClass(conditions, WorkflowCondition.class); return condition; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Integer getPage() { return page; } public void setPage(Integer page) { this.page = page; } public Integer getPageSize() { return pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public String getDeep() { return deep; } public void setDeep(String deep) { this.deep = deep; } public Long getWorkspaceId() { return workspaceId; } public void setWorkspaceId(Long workspaceId) { this.workspaceId = workspaceId; } }