java.lang.Object
es.kukenan.smartfi.microservice.contracts.repository.entity.Product
All Implemented Interfaces:
Serializable

@Entity public class Product extends Object implements Serializable
DAO for Product table in Database.
See Also:
  • Field Details

    • id

      private String id
      type Id.
    • userBackoffice

      private UserBackoffice userBackoffice
      users id data.
    • coreProductId

      private String coreProductId
      core product Id.
    • coreSubsystem

      private String coreSubsystem
      core subsystem value.
    • currency

      private boolean currency
      Flag that informs (if true) that this product uses a currency != €.
    • coreProductTypeId

      private String coreProductTypeId
      core product type Id.
    • ebContract

      private EbContract ebContract
      eb contract id.
    • coreProductDetail

      private String coreProductDetail
      core product detail.
    • profiles

      @PodamExclude private List<Profile> profiles
      Profiles of which the current product is part.
  • Constructor Details

    • Product

      public Product()
  • Method Details

    • addProfile

      public void addProfile(Profile profile)
      Add a profile to the profiles list.
      Parameters:
      profile - new profile.
    • deleteProfile

      public void deleteProfile(Profile profile)
      Delete a profile from the profiles list.
      Parameters:
      profile - profile to delete.