class SurrenderReasonMapper {

    public SurrenderReasonSearchContract toSearchContract(SurrenderReasonSearch surrenderReasonSearch) {

        SurrenderReasonSearchContract contract = new SurrenderReasonSearchContract();

        contract.setId(surrenderReasonSearch.getId());
        contract.setName(surrenderReasonSearch.getName());
        contract.setDescription(surrenderReasonSearch.getDescription());
        contract.setCreatedBy(surrenderReasonSearch.getCreatedBy());
        contract.setCreatedDate(surrenderReasonSearch.getCreatedDate());
        contract.setLastModifiedBy(surrenderReasonSearch.getLastModifiedBy());
        contract.setLastModifiedDate(surrenderReasonSearch.getLastModifiedDate());
        contract.setTenantId(surrenderReasonSearch.getTenantId());
        contract.setPageSize(surrenderReasonSearch.getPageSize());
        contract.setOffset(surrenderReasonSearch.getOffset());
        contract.setSortBy(surrenderReasonSearch.getSortBy());
        contract.setIds(surrenderReasonSearch.getIds());

        return contract;
    }

}