package com.huigou.demo.application;


import com.huigou.demo.domain.model.Leave;
import com.huigou.demo.domain.query.LeaveQuery;

import java.util.Map;

/**
 * @author yonghuan
 */
public interface LeaveApplication {

    String PROCESS_DEFINITION_KEY = "leave";

    Leave loadLeaveById(String id);

    Map<String, Object> slicedQuery(LeaveQuery query);

}
