Last active
August 15, 2018 18:54
-
-
Save woodyalan/045b79e5123453adc5bde146c21b13e9 to your computer and use it in GitHub Desktop.
Rematrícula
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const CampoEnum = { | |
NOME: 6, | |
CPF: 11, | |
RG: 12, | |
NASCIMENTO: 14, | |
USUARIO: 36, | |
RA: 30, | |
SEXO: 37, | |
PROFISSAO: 38, | |
NACIONALIDADE: 40, | |
CEP: 16, | |
RUA: 17, | |
NUMERO: 18, | |
COMPLEMENTO: 19, | |
BAIRRO: 20, | |
CIDADE: 22, | |
ESTADO: 21, | |
CELULAR: 7, | |
TELEFONE_RESIDENCIAL: 8, | |
TELEFONE_TRABALHO: 9, | |
EMAIL: 10, | |
LOCAL_TRABALHO: 28, | |
RENDA_MENSAL: 26, | |
ESTADO_CIVIL: 23, | |
NOME_CONJUGE: 24, | |
TELEFONE_CONJUGE: 25, | |
CLIENTE_FORNECEDOR: 43, | |
DATA_PREVISAO: 46, | |
DATA_RETORNO: 47 | |
}; | |
export default CampoEnum; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const contato = JSON.parse(`{ | |
"publicoId": "${PublicoEnum.ALUNO_COLEGIO}", | |
"campos": { | |
"${FormularioEnum.IDENTIFICACAO}": { | |
"${CampoEnum.NOME}": "${responsavelFinanceiro.nome}", | |
"${CampoEnum.NASCIMENTO}": "${responsavelFinanceiro.nascimento}" | |
}, | |
"${FormularioEnum.CONTATO}": { | |
"${CampoEnum.EMAIL}": "${responsavelFinanceiro.email}", | |
"${CampoEnum.CELULAR}": "${responsavelFinanceiro.celular}" | |
}, | |
"${FormularioEnum.DOCUMENTOS}": { | |
"${CampoEnum.CPF}": "${responsavelFinanceiro.cpf}" | |
}, | |
"${FormularioEnum.ACADEMICO}": { | |
"${CampoEnum.RA}": "${responsavelFinanceiro.ra}" | |
} | |
} | |
}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const contato = JSON.parse(`{ | |
"publicoId": "${PublicoEnum.RESPONSAVEL_FINANCEIRO_REMATRICULA}", | |
"campos": { | |
"${FormularioEnum.IDENTIFICACAO}": { | |
"${CampoEnum.NOME}": "${responsavelFinanceiro.nome}", | |
"${CampoEnum.NASCIMENTO}": "${responsavelFinanceiro.nascimento}" | |
}, | |
"${FormularioEnum.CONTATO}": { | |
"${CampoEnum.EMAIL}": "${responsavelFinanceiro.email}", | |
"${CampoEnum.CELULAR}": "${responsavelFinanceiro.celular}" | |
}, | |
"${FormularioEnum.DOCUMENTOS}": { | |
"${CampoEnum.CPF}": "${responsavelFinanceiro.cpf}" | |
} | |
} | |
}`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const FormularioEnum = { | |
IDENTIFICACAO: 5, | |
DOCUMENTOS: 6, | |
CONTATO: 4, | |
ENDERECO: 11, | |
RENDA: 15, | |
ACADEMICO: 17, | |
ESTADO_CIVIL: 14, | |
CLIENTE_FORNECEDOR: 20 | |
}; | |
export default FormularioEnum; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const PublicoEnum = { | |
RESPONSAVEL_FINANCEIRO_REMATRICULA: 8 | |
}; | |
export default PublicoEnum; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment