Questions tagged as 'modelagem'

1
answer

Entities classes

I'm developing a sales project to which I have registered a funcionário that can also be vendedor , I will have a cliente that can be a pessoa física or pessoa jurídica , fornecedores that can be pessoa...
asked by 11.07.2018 / 13:40
2
answers

Modeling of launches using customers and suppliers

Contextualization: Initially I'm developing a posting module (accounts payable and receivable). Every release must relate to a vendor or customer. As I want to model both the customer and the supplier in detail, I will create a table calle...
asked by 24.09.2016 / 18:45
2
answers

Difference between relational table and online record

I have a structure of companies and categories organized into 3 tables: empresa - > Register of all registered companies. categoria - > Registration of all registered categories. rel_categoria - > Relatio...
asked by 14.06.2016 / 21:09
1
answer

How to model Product / Stock?

I started a modeling for Products thinking of the same as: Purchased to Resell Produced for Sale Perishable or not So far so good, but when I started thinking about stock control based on that model my head knotted, because of the Lot...
asked by 19.04.2016 / 20:54
2
answers

Field of the type time or decimal, how to solve?

I have in the system that I am developing a field called flow, which can be filled either with a decimal value of type 0.5 and 2.4 or with a time value, type 15 min and 5 h. What is the best solution when creating this field in my table? Leave...
asked by 28.04.2016 / 16:28
1
answer

Tables with columns always null

Is it wrong to create tables with mutually exclusive columns? For example, I have the tables Texto , Trecho and Linhas , Texto and Trecho has many Linhas , the Linha table is holding the two FKs alwa...
asked by 06.03.2015 / 12:59
1
answer

Problems with RBAC permissions modeling

I'm developing a system where your user permissions will be based on the RBAC model, A user could be in several permissions rules that would grant privileges to the system, when registering a new user the user to be registered would inher...
asked by 14.10.2014 / 23:53
2
answers

Best way to normalize database

What would be the best way forward with respect to data normalization? The system will basically have three types of "people": Agency Contributor Client These entities have some common properties, for example: Contacts, Address, docum...
asked by 01.10.2018 / 21:42
1
answer

Modeling - Model

I'm having trouble creating my models. Let's imagine that I have 4 different types of products (Here like A, B, C and D) public class Produto { public int ProdutoId { get; set; } public TipoProduto TipoProduto { get; set; } //enum t...
asked by 24.08.2017 / 21:16
1
answer

Convert MER (Relationship Entity Model) diagram to VB.NET or C # classes [closed]

I developed the diagram of NFe XML layout tables, there are 58 tables with their relationships. I would like to generate the classes automatically from the diagram or can be through the database as well. Is there any tool for this?     
asked by 10.06.2016 / 14:23