I created the following model:
Would you like to know what can be improved? taking into consideration good practices for database?
Explanation:
In% of%, a person will create a login, which can be of type TBLogin
or PessoaFisica
. NOTE: In this case a PessoaJuridica
= PessoaJuridica
In Empresa
I put the fields that are common for both types of people.
TBPessoas
TBEndereco
TBCidades
is for storing the location.
TBEstados
related to TBVagas
(Enterprise). It would be the vacancies that this person / company would register to divulge.
TBPessoaJuridica
All TBCurriculos
can only have one curriculum. The curriculum consists of PessoaFisica
that in the case would be the languages that the person speaks, being able to have + of 1.
TBIdiomas
It is a professional background from where the person has already worked.
TBEmpregos
Are the trainings that a person has. (College / Faculty / Courses)
TBFormacoes
are the types of training. Ex: (undergraduate / post-graduate / master's / doctorate / high school / etc)
OBS: I'm not very good with modeling, I have little knowledge of table relationships and stuff.