package cokr.xit.fims.cmmn; import cokr.xit.foundation.component.QueryRequest; public class CmmnQuery extends QueryRequest { private static final long serialVersionUID = 1L; private String mainOption; private String subOption; private String thisDay; private String taskSeCd; //업무구분코드 private String schDateOpt; //검색 일자 구분 private String schDateFrom; //검색 일자 시작 private String schDateTo; // 검색 일자 종료 public String getMainOption() { return ifEmpty(mainOption, () -> null); } public T setMainOption(String mainOption) { this.mainOption = mainOption; return self(); } public String getSubOption() { return ifEmpty(subOption, () -> null); } public T setSubOption(String subOption) { this.subOption = subOption; return self(); } public String getThisDay() { return ifEmpty(thisDay, () -> null); } public T setThisDay(String thisDay) { this.thisDay = thisDay; return self(); } public String getTaskSeCd() { return ifEmpty(taskSeCd, () -> null); } public T setTaskSeCd(String taskSeCd) { this.taskSeCd = taskSeCd; return self(); } public String getSchDateOpt() { return ifEmpty(schDateOpt, () -> null); } public T setSchDateOpt(String schDateOpt) { this.schDateOpt = schDateOpt; return self(); } public String getSchDateFrom() { return ifEmpty(schDateFrom, () -> null); } public T setSchDateFrom(String schDateFrom) { this.schDateFrom = schDateFrom; return self(); } public String getSchDateTo() { return ifEmpty(schDateTo, () -> null); } public T setSchDateTo(String schDateTo) { this.schDateTo = schDateTo; return self(); } }