public class Manufacturer extends BaseEntity
id
Constructor and Description |
---|
Manufacturer() |
Manufacturer(String name) |
Modifier and Type | Method and Description |
---|---|
static Manufacturer |
create(ManufacturerDto manufacturerDto) |
static List<ManufacturerDto> |
createDto(List<Manufacturer> manufacturers) |
static ManufacturerDto |
createDto(Manufacturer manufacturer) |
List<Car> |
getCars() |
String |
getName() |
void |
setCars(List<Car> cars) |
void |
setId(Long id) |
void |
setName(String name) |
equals, getId, hashCode, isSaved
public Manufacturer()
public Manufacturer(String name)
public void setId(Long id)
setId
in class BaseEntity
public String getName()
public void setName(String name)
public static List<ManufacturerDto> createDto(List<Manufacturer> manufacturers)
public static ManufacturerDto createDto(Manufacturer manufacturer)
public static Manufacturer create(ManufacturerDto manufacturerDto)
Copyright © 2010-2014 ArcBees. All Rights Reserved.