Questions tagged as 'modelagem'

1
answer

What is the best way to make post comments?

How can I organize a comment system in MySQL An idea would be: id_post id_comentario id_user comentario But it would take up a lot of space and it would not be so quick to process 2000 comments from id_post different I also tho...
asked by 25.02.2018 / 17:26
1
answer

Creating dynamic ng-model with angular

I need to create the name of a model dynamically, but at the time of creating the angle obj does not accept that I try to create the obj name dynamically. Has anyone done this or do you know how to proceed?    The problem is occurring in the...
asked by 02.04.2015 / 14:33
1
answer

Should I create a table by category, or a single table?

I want to set up a classified site and I have a question: how can I create categories in BD? Do I create an ad table for each category? Or do I create a Categorias table with them inside? What is the best way?     
asked by 01.08.2014 / 18:21
2
answers

Database model optimization

I'm making a system for a college and one of the subsystems I'm building is the student newsletter. I put it to when creating a new discipline in the table "discipline" this discipline is added to the "notes" table with a record for each id of e...
asked by 08.10.2017 / 19:11
1
answer

Best object-oriented way to solve the problem

Suppose I'm modeling a contracheque. However, each entry in a contracheque I chose to model as a ItemContracheque . That is, to represent my Contracheque as a whole, I can use a simple list of ItemContracheque . Here is the questi...
asked by 23.11.2016 / 18:53
1
answer

Database modeling helps!

I need to make a library system for book loans, in which I wrote this database diagram. the teacher said that this diagram is inconsistent. What needs to be done, are these tables just what I really need?     
asked by 06.07.2015 / 00:52
1
answer

Data modeling for user-favored tasks

I have an application where the user can create a task. The task in turn can be public or private. If it's public, other users can view it and favor it. That is, many users can favor the same task. I thought about creating a third table, call...
asked by 04.08.2014 / 02:40
2
answers

User with more than one profile

In the system business rule that I am working on, a user can have more than one profile. The profiles are: administrator, appraiser and responsible. For example: So-and-so can be both administrator and appraiser at the same time. My questi...
asked by 27.07.2018 / 04:20
2
answers

How do I track version number in budget?

I'm breaking my head here to get a common denominator, I have a system in Delphi with PostgreSQL, this system has a budget session I need to track the changes made in these budgets by putting version number, ie with each change requested by t...
asked by 20.02.2018 / 14:35
1
answer

How to represent a relationship N: N in java?

I think it's a simple question, but I could not find any examples that would make that clear. I have already done my database model in PostGreSQL and at the time of creating the classes I got a little lost. I have List entities (stores user's fa...
asked by 16.10.2016 / 01:51