CREATE TABLE processo_automaticos (
    id               bigint NOT NULL,
    descricao        VARCHAR2(250) NOT NULL,
    situacao         SMALLINT NOT NULL,
    data_inicial     DATE NOT NULL,
    data_final       DATE,
    minuto           SMALLINT,
    hora             SMALLINT,
    dia_mes          SMALLINT,
    dia_semana       SMALLINT,
    mes              SMALLINT,
    parametro        json,
    user_id          bigint NOT NULL,
    filial_id        bigint NOT NULL,
    regra_negocio_id bigint NOT NULL
);