hrserver fifth day

Understand the purpose of each database table:

A total of 21 tables, the most important are five, respectively hr, role, menu and associated table

 

 

 

 

HR : some basic information about users, including login account password, the password is encrypted

 

Role : Role table, name field represents the English name of the role, in accordance with the norms SpringSecurity, will be ROLE_ start, nameZh field indicates the role of the Chinese name.

 

The MENU : resource table, the table field involves a bit more, because I do the front-end of the Vue, so when the user logs in successfully, the system will dynamically loaded modules required according to the user's role, the information will be saved in all modules menu table, field table menu path, component, iconCls, keepAlive, requireAuth Vue-Router and other fields are needed, that is the menu data when the form is returned to the front end json, then the vue dynamic update router, menu also has a field url, represents a url pattern, i.e., path matching rule, assume that there is a matching rule path / admin / **, when a user initiates a client / admin / user request, is / admin / ** intercepted, the system again view the role which corresponds to the rule, and then to see if the user has the appropriate character, then determine whether the request is legal.

 

 

 

 

 

 

Adjustsalary: literally salary, salary front, rear field; there is no data.

Appraise : APP upgrade, the field has appContent.

Department : departments, field depPath, which reads: .1.4.5.8; there parentId.

Employee: basic information about employees table.

Employeeec; employee turnover information table.

Employeeremove:员工调动表。

Employeetrain:员工队列?员工训练?

Employsalary:员工和薪水中间表。

Joblevel:等级,职称;

Msgcontent:消息容器;

Nation:民族;

Oplog:操作日志;

Politicsstatus:政治面貌;

Position:位置(XX总监);

Sysmsg:关联表,包括megcontent,hr;

Guess you like

Origin www.cnblogs.com/beastchair/p/11228122.html