class SurrenderReasonMapper {

    public SurrenderReasonContract toContract(SurrenderReason surrenderReason) {

        SurrenderReasonContract contract = new SurrenderReasonContract();

        contract.setId(surrenderReason.getId());
        contract.setName(surrenderReason.getName());
        contract.setDescription(surrenderReason.getDescription());
        contract.setCreatedBy(surrenderReason.getCreatedBy());
        contract.setCreatedDate(surrenderReason.getCreatedDate());
        contract.setLastModifiedBy(surrenderReason.getLastModifiedBy());
        contract.setLastModifiedDate(surrenderReason.getLastModifiedDate());
        contract.setTenantId(surrenderReason.getTenantId());

        return contract;
    }

}