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

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

    • id

      @Size(max=50) private @Size(max=50) String id
      EbContract Id.
    • user

      private User user
      user associated .
    • coreContractId

      private String coreContractId
      Core contract Id.
    • coreEbUserId

      private String coreEbUserId
      Core eb user identifier.
    • backOfficeId

      private Integer backOfficeId
      Backoffice id.
    • owner

      private User owner
      User owner.
    • profiles

      @PodamExclude private List<Profile> profiles
      Owned profiles.
  • Constructor Details

    • EbContract

      public EbContract()
  • Method Details

    • addProfile

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