Class Diagram in Mongodb

和自甴很熟 提交于 2019-12-13 06:00:55

问题


I want to make the UML for my application (i did the inverse, starting by the application because i am a beginner in internet stuff), so my question is:

i've Produit which i denormalized, so, it will be copied two times:

  • if it is a product uploaded, then it will have methods like supprimer (delete),
  • if it is added to cart, then i will not have the supprimer (delete) method, but have enlever_du_panier (reomve_from_cart).

  • So how can i show in UML that this method goes only for uploaded product and not from added_to_cart, so i make two classes with the same attributes but different methods?

  • If i have the document such as sub-document; for example, the client is splited to city , and city doesent play a big role in the system, but only did that to make the document scanning fast, would i represent it in the system AS IT IS SPLITTED?

来源:https://stackoverflow.com/questions/17177067/class-diagram-in-mongodb

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!