blob: 2235f7c458081538351cb3545ff2dc654562cbc1 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
package org.osbp.mysmartshop.dtos.service;
import org.eclipse.osbp.dsl.dto.lib.services.impl.AbstractDTOService;
import org.osbp.mysmartshop.dtos.CompanyDto;
import org.osbp.mysmartshop.entities.Company;
@SuppressWarnings("all")
public class CompanyDtoService extends AbstractDTOService<CompanyDto, Company> {
public Class<CompanyDto> getDtoClass() {
return CompanyDto.class;
}
public Class<Company> getEntityClass() {
return Company.class;
}
public Object getId(final CompanyDto dto) {
return dto.getId();
}
}