| package org.osbp.mysmartshop.dtos.service; |
| |
| import org.eclipse.osbp.dsl.dto.lib.services.impl.AbstractDTOService; |
| import org.osbp.mysmartshop.dtos.CashPaymentDto; |
| import org.osbp.mysmartshop.entities.CashPayment; |
| |
| @SuppressWarnings("all") |
| public class CashPaymentDtoService extends AbstractDTOService<CashPaymentDto, CashPayment> { |
| public Class<CashPaymentDto> getDtoClass() { |
| return CashPaymentDto.class; |
| } |
| |
| public Class<CashPayment> getEntityClass() { |
| return CashPayment.class; |
| } |
| |
| public Object getId(final CashPaymentDto dto) { |
| return dto.getId(); |
| } |
| } |