class SurrenderReasonMapper {

    public SurrenderReasonSearch toSearchDomain(SurrenderReasonSearchContract contract) {

        SurrenderReasonSearch surrenderReasonSearch = new SurrenderReasonSearch();

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

        return surrenderReasonSearch;
    }

}