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

    Fields
    Modifier and Type Field Description
    private java.lang.String city
    CITY
    private java.lang.String country
    COUNTRY
    private java.lang.Long id
    ID
    private java.lang.String province
    PROVINCE
    private java.lang.String street
    STREET
  • 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 id

      ID

      ID of the location.

    • street

      private java.lang.String street

      STREET

      Street of the location. This value is optional for users with the ROLE_USER.

    • city

      private java.lang.String city

      CITY

      City of the location.

    • province

      private java.lang.String province

      PROVINCE

      Province of the location.

    • country

      private java.lang.String country

      COUNTRY

      Country of the location.

  • Constructor Details

    • Location

      public Location()