id | id | integer | NO | | Primary Key. |
aad_alert_id | av_id | integer | NO | | Internal alert identifier. |
tenant_id | tenant_id | integer | NO | | Tenant identifier for data isolation. |
aad_code | cod_av | character(4) | NO | ''::bpchar | Unique mnemonic code for the alert definition. |
aad_description | av_descrizione | character(80) | NO | ''::bpchar | Human-readable description of the alert. |
aad_message_template | av_messaggio | text | NO | ''::text | The message text to be displayed or sent when the alert triggers. |
aad_type | av_tipo | numeric(1,0) | NO | 0 | Category or type of alert. |
aad_periodicity | av_periodo | numeric(1,0) | NO | 0 | Frequency or period considered for the alert calculation. |
aad_value_type_1 | av_valore_tipo1 | numeric(1,0) | NO | 0 | Value of aad value type 1. |
aad_value_type_2 | av_valore_tipo2 | character(10) | NO | ''::bpchar | Value of aad value type 2. |
aad_calculation_expression | av_valore_expr | text | NO | ''::text | Formula or SQL-like expression used to evaluate the alert condition. |
aad_c1_operator | av_cri1_oper | numeric(1,0) | NO | 0 | Comparison operator for the first criterion. |
aad_c1_min_value | av_cri1_minimo | numeric(4,0) | YES | 0 | Lower bound for the first criterion. |
aad_c1_max_value | av_cri1_massimo | numeric(4,0) | YES | 0 | Upper bound for the first criterion. |
aad_c1_logic_operator | av_cri1_logic | numeric(1,0) | NO | 0 | Logical operator (AND/OR) to connect with the next criterion. |
aad_c2_operator | av_cri2_oper | numeric(1,0) | NO | 0 | Value of aad c2 operator. |
aad_c2_min_value | av_cri2_minimo | numeric(4,0) | YES | 0 | Value of aad c2 min value. |
aad_c2_max_value | av_cri2_massimo | numeric(4,0) | YES | 0 | Value of aad c2 max value. |
aad_c2_logic_operator | av_cri2_logic | numeric(1,0) | NO | 0 | Value of aad c2 logic operator. |
aad_c3_operator | av_cri3_oper | numeric(1,0) | NO | 0 | Value of aad c3 operator. |
aad_c3_min_value | av_cri3_minimo | numeric(4,0) | YES | 0 | Value of aad c3 min value. |
aad_c3_max_value | av_cri3_massimo | numeric(4,0) | YES | 0 | Value of aad c3 max value. |
aad_c3_logic_operator | av_cri3_logic | numeric(1,0) | NO | 0 | Value of aad c3 logic operator. |
aad_is_enabled_for_web | av_web | boolean | NO | false | If true, the alert is visible/active on the web portal. |
aad_block_anomaly_reporting_legacy | avvi_blocca_segnalazione_anomalia | boolean | NO | false | Boolean flag for aad block anomaly reporting legacy. |
aad_block_anomaly_reporting | av_blocca_segnalazione_anomalia | boolean | NO | true | If true, prevents the system from flagging this condition as a blocking anomaly. |