Skip to content

Conversation

@lucamenor
Copy link
Contributor

Conforme as regras definidas pelo CNJ para uma Numeração Única de Processos no Brasil, os números de Processos devem respeitar a seguinte máscara: NNNNNNN-DD.AAAA.J.TR.OOOO. Onde DD é um dígito verificador calculado com módulo 97

Alterações feitas para o NUP:

  • Criação do NUPInputFormatter
  • Adição das funções isNUPValido e obterNUP na classe UtilBrasilFields
  • Criação do NUPValidator

Referências:

Adds `NUPInputFormatter` to format the NUP, adds `NUPValidator` to validate and format the NUP, and adds `obterNUP` and `isNUPValido` to `UtilBrasilFields`.
Also adds a new test file for the NUP formatter.
@rubensdemelo rubensdemelo merged commit e14f811 into flutterbootcamp:master Jan 15, 2025
1 of 2 checks passed
@rubensdemelo
Copy link
Collaborator

@lucamenor obrigado. Publicarei a nova versao em breve.

@lucamenor lucamenor deleted the feat/nup branch May 3, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants