java.lang.Object
es.kukenan.smartfi.microservice.clients.repository.entity.UserModuleError

@Entity public class UserModuleError extends Object
DAO for rooted control table in Database.
  • Field Details

    • DESCRIPTION_MAX_LENGTH

      public static final int DESCRIPTION_MAX_LENGTH
      Max allowed length for description field.
      See Also:
    • id

      private Integer id
      Module error id.
    • userId

      private String userId
      User identifier.
    • companyId

      private String companyId
      Company identifier.
    • context

      private String context
      Context in which the error has been thrown. For example, the event: UserCreateEvent.
    • relatedEventId

      private String relatedEventId
      Related event id (if any).
    • origin

      private String origin
      Error origin (module/microservice that has failed).
    • level

      private String level
      Error level.
      • CRITICAL: affects user behaviour in skyline (user may be disabled).
      • MAJOR: affects user behaviour in a single skyline module (user may not be disabled, but the affected module may not work correctly).
      • MINOR: partially affects user behaviour in a single skyline module (some operations in the affected module may not work well).
      • TRIVIAL: does not directly affect user behaviour in skyline, but minor defects may appear: invalid data in UI/notifications...
      • UNKNOWN: error context/origin is not registered and user behaviour in skyline is unknown.
    • date

      private ZonedDateTime date
      Error hit date.
    • code

      private String code
      Error code.
    • description

      private String description
      Error description.
  • Constructor Details

    • UserModuleError

      public UserModuleError()