Question about Database Design mysql

Source: Internet
Author: User
The requirement should be as follows: the system has a default product table, but the default product table is for merchants; that is to say, merchants can register products and dismounted products in the default product list of the system. The prices of products can only be modified... the requirement should be as follows:

The system itself has a default product table;

However, the default product table is for merchants;

That is to say, merchants can register products that can be shelved in the system's default product list. The product price can only be changed;

How should we design the table of products that have been shelved by merchants, products that have been dismounted, and default products of the system,

How can I associate the shelved products and dismounted products of each registered merchant with the default system product table?

Do not copy a system product table to the product table of each merchant. In this way, 100 merchants have 100 product tables.

How can we store data;

System information;

One of the two identities of the platform is a registered merchant, which can only sell the system's own products. That is to say, the merchant can check whether the product has any flowers to mount the system's products and modify the product price; one is to register a product purchase user; the user can purchase the product of the merchant

Reply content:

The requirement should be as follows:

The system itself has a default product table;

However, the default product table is for merchants;

That is to say, merchants can register products that can be shelved in the system's default product list. The product price can only be changed;

How should we design the table of products that have been shelved by merchants, products that have been dismounted, and default products of the system,

How can I associate the shelved products and dismounted products of each registered merchant with the default system product table?

Do not copy a system product table to the product table of each merchant. In this way, 100 merchants have 100 product tables.

How can we store data;

System information;

One of the two identities of the platform is a registered merchant, which can only sell the system's own products. That is to say, the merchant can check whether the product has any flowers to mount the system's products and modify the product price; one is to register a product purchase user; the user can purchase the product of the merchant

The background of the merchant is to display that all products of the system can be shelved. The prices of system products can be modified when the products of the system are shelved.

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.