Class Location
java.lang.Object
org.eco.mubisoft.good_and_cheap.user.domain.model.Location
@Entity
public class Location
extends java.lang.Object
Location of a user or business
Each of the users of the application will have a location. This location will be used to find products, businesses or clients that are around them.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
id
private java.lang.Long idID
ID of the location.
-
street
private java.lang.String streetSTREET
Street of the location. This value is optional for users with the ROLE_USER.
-
city
private java.lang.String cityCITY
City of the location.
-
province
private java.lang.String provincePROVINCE
Province of the location.
-
country
private java.lang.String countryCOUNTRY
Country of the location.
-
-
Constructor Details
-
Location
public Location()
-