Class HouseDTOFactory
java.lang.Object
info.ejava.assignments.api.houserenters.dto.houses.HouseDTOFactory
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final net.datafaker.Faker
private static final AtomicInteger
private final StreetAddressDTOFactory
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ID
-
faker
private final net.datafaker.Faker faker -
locationFactory
-
withId
-
-
Constructor Details
-
HouseDTOFactory
public HouseDTOFactory()
-
-
Method Details
-
id
-
name
-
people
public int people() -
bedrooms
public int bedrooms() -
dailyRate
-
location
-
username
-
make
-
listBuilder
-