package kr.wisestone.owl.web.condition; import kr.wisestone.owl.util.ConvertUtil; import java.util.Map; /** * Create By J E O N G - S U N / 2019-05-22 */ public class EventCondition { private Long id; private String title; private String description; private Integer status; private Integer page; private Integer pageSize; public EventCondition(){} public static EventCondition make(Map conditions) { return ConvertUtil.convertMapToClass(conditions, EventCondition.class); } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } 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; } }