CREATE TABLE tb_planos (
    id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
    nome VARCHAR(40) NOT NULL,
    descricao VARCHAR(80),
    status CHAR(1) NOT NULL DEFAULT '1' CHECK (status IN ('0', '1')),
    valor DECIMAL(10, 2) NOT NULL,
    recorrencia CHAR(1) NOT NULL CHECK (recorrencia IN ('M', 'S', 'T', 'A')),
    deleted CHAR(1) NOT NULL DEFAULT '' CHECK (deleted IN ('', '*'))
);