Skip to main content

Questions tagged [relationships]

11votes
13answers
5kviews

Does it ever make sense to have a one-to-one obligatory relationship in a relational database?

To illustrate what I mean, imagine a group of students and a group of professors in some kind of a traineeship. Every professor is to mentor one student and every student has to be mentored by one and ...
user24881603's user avatar
0votes
1answer
82views

if an entity depends on two other entities(that have a relationship between them) should I make the enitity depend on the relationship instead?

If I have three entities (end-user, country, tier) in my system that has relationships as follows: Where each country has its own tiers with specified points per year, and each end-user has a country ...
siba36's user avatar
-1votes
1answer
86views

Designing a Distributed System for Indigenous Data Sovereignty Across Nations [closed]

I'm looking for some quick "back-of-the-napkin" thoughts from systems engineers on the following scenario: A collection of Indigenous groups (in the US, Canada, and Australia) want to design ...
Jordan Loewen-Colón's user avatar
2votes
4answers
464views

Many-to-many modeling for microservices

I have two microservices, say "students" and "courses", they represent separate entities that are managed separately by different teams. A given student can be enrolled in multiple ...
persson's user avatar
0votes
1answer
203views

Match making algorithm respecting players' choices

I am currently developing an application in Python that has a match making functionality to form sports teams of 4 and group them by skill. The following has been implemented and works. E.g. Form ...
serge's user avatar
-2votes
1answer
111views

UML relationships

Could someone explain to me if the relation in this class diagram is a "dependency" or "association" relationship and why? I cannot edit the picture. The terms translate into ...
João Vitor Gomes's user avatar
0votes
1answer
501views

Architecture for storing generic data

(I am facing this issue with code written in Swift, but would appreciate any high-level pseudocode solution, just so that I may wrap my head around the architecture) I need to find an architecture ...
Skwiggs's user avatar
-2votes
1answer
69views

Assigning Relationships between various objects in a collection

Similarly to a sports team chemistry or even a better example would be fifa ultimate team chemistry where putting certain players in the team would improve the team's overall chemistry Say there are ...
user2921885's user avatar
1vote
0answers
713views

How to handle relationships between resources in Restful API

Problem Hi, we have an API that it's pretty similar to a standard CRM. That is, we have a really big amount of resources (even our own customers can define new resources). All of these resources share ...
Antonio Gamiz Delgado's user avatar
5votes
3answers
230views

UML Composition parent association end

The Wikipedia article on the Composite Design Pattern includes the following diagram: As you see, there is an association relationship which is child 0..* – 1 parent (association). However, shouldn't ...
Aldan Creo's user avatar
1vote
2answers
1kviews

determine correct relations in ERD - Customer Orders use case

The below ERD is taken from a professional architecture reference, however I have a concern in the relation between Customer and Invoice, I believe that relation between Customer to Order , and Order ...
osama yaccoub's user avatar
2votes
3answers
284views

OOPS Relationship between Soccer Field and Soccer Player

I am trying to design a simple Soccer game. To keep things simple, I am having a SoccerField to represent the field and a Player class to represent an individual. A SoccerField will contain a list of ...
SyncMaster's user avatar
0votes
1answer
116views

Relationship problem between entities

I'm not sure how I should think regarding my database design. I have made this database schema below. And I'm trying to think about the relationship between the entities. I have read through online ...
user avatar
2votes
1answer
119views

Best notation to store/read/compute complex relationships

I have created an application in which users and tasks can be entered. A task should be be assigned to one or more users. If more users can do a task, the task should be assigned in such a way that it ...
BogisW's user avatar
1vote
2answers
3kviews

Relationship between entities in different aggregates and size of aggregate

I read a lot about DDD but few thing are still unclear. At this moment I have two dilemma The size of aggregates. How small could be an aggregate? For example we have: class Car { String colorId ...
pin54's user avatar

153050per page
close