Interface PunishmentReason


public interface PunishmentReason
  • Method Details

    • id

      int id()
    • typeId

      int typeId()
    • reasonText

      @NotNull @NotNull String reasonText()
    • durationSecs

      @Nullable @Nullable Long durationSecs()
    • autoFlagIp

      boolean autoFlagIp()
    • createdBy

      int createdBy()
    • createdAt

      @NotNull @NotNull LocalDateTime createdAt()
    • changedBy

      @Nullable @Nullable Integer changedBy()
    • changedAt

      @Nullable @Nullable LocalDateTime changedAt()
    • isPermanent

      boolean isPermanent()
    • builder

      @NotNull @NotNull PunishmentReason.Builder builder()
    • with

      @NotNull @NotNull PunishmentReason with(@NotNull @NotNull Consumer<PunishmentReason.Builder> consumer)
    • of

      @NotNull static @NotNull PunishmentReason of(int id, int typeId, @NotNull @NotNull String reasonText, @Nullable @Nullable Long durationSecs, boolean autoFlagIp, int createdBy, @NotNull @NotNull LocalDateTime createdAt)