[002] Two common code organization structures: 002

Source: Internet
Author: User

[002] Two common code organization structures: 002
1. Organize the structure according to the application business logic

Office software:

1. Purchase com. itheima. buy

2. meeting com. itheima. meeting

3. leave com. itheima. leave




2. Divide the package structure according to the type of the Code

The UI displays com. itheima. mobilesafe. activity.
Custom UI com. itheima. mobilesafe. activity. ui
Business Logic com. itheima. mobilesafe. engine
Database com. itheima. mobilesafe. db
Add, delete, modify, and query com. itheima. mobilesafe. da. dao in the database
Background service com. itheima. mobilesafe. service
Broadcast receiver com. itheima. mobilesafe. receiver
Tool class com. itheima. mobilesafe. utils

Organization Code

According to the classification of code types by national standards, codes are divided into meanings and no meanings based on their functions. A meaningful code is a code that identifies an object and has other specific meanings. For example, the code of a citizen's ID card is a meaningful code.

A no-meaning code is a code that only identifies the encoding object and has no additional meaning. For example, an organization code is composed of an eight-digit ontology code and a one-digit verification code, the code is short in length and contains a large amount of data, which is especially suitable for computer management and applications. The Organization Code shows the category and location of the Organization. The reason why the Organization Code is meaningless is that in reality there will be a series of problems, such as the conversion of public institutions into enterprise institutions, the conversion of domestic capital to foreign capital, and the change of administrative divisions, nearly 20 basic information such as the organization type, legal representative name, economic type, and address can be found in the Code database. The undefined code can ensure the uniqueness, uniformity and lifetime immutability of the Organization Code.

The organization code is different from the ID card number of a natural person. A natural person, even a natural person born out of marriage, has the right to obtain his/her ID card number. The organization applying for the Code must be established in accordance with law. In addition, the basic information of the ID card number of a natural person remains unchanged during the validity period, and its information is relatively stable. The four-year validity period set by the Organization Code is relatively short. It is dynamic and can adjust the relevant information in the database as the Organization changes.

Organizational Unit: An organization is a group established in accordance with certain purposes and systems. Institution refers to an organ, group, or other work unit. An organizational unit is a purposeful, systematic, and orderly combination of organs, groups, and other work units or internal organizations established in accordance with certain purposes and systems. It is a collective name of an enterprise, a social group, an organization, a private non-enterprise unit, and other units established according to law ". However, the term "unit" is general and can be referred to as a metering unit or the basic cell family of society. Therefore, in the unified code identification system, "organizations" are often referred to as "units ".
Reference: www.nacao.org.cn/dmzs/dmzs_nr.asp? Id = 20

Organization Code Certificate is important

Organization Code Certificate is the enterprise's ID card, Organization Code Certificate-a pass in social and economic activities

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.