Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. A company can have many users
  2.  
  3. A user can only be part of 1 company
  4.  
  5. A company can access multiple modules (Company Blue can access modules A and B)
  6.  
  7. A module can be accessed by multiple companies (Module A can be accessed by Company Red and Company Blue)
  8.  
  9. A user can access multiple modules (Up to the number of the modules the company can access, if the company can access 4 modules, a user can access 4 modules or fewer)
  10.  
  11. A module can be accessed by multiple users from different companies.
  12.  
  13. A module can have certain fields or columns, example:
  14.  
  15. Module A:
  16.  
  17. Items
  18.  
  19. Description
  20.  
  21. Category
  22.  
  23. Year
  24.  
  25. Main Task
  26.  
  27. Module B:
  28.  
  29. Article
  30.  
  31. Type
  32.  
  33. Number
  34.  
  35. Year
  36.  
  37. Obligation
  38.  
  39. There can be added new fields in the future. Ex: We can add some day because it was needed for some reason to the module B, the column "Risk", it will turn out in something like this.
  40.  
  41. Module B:
  42.  
  43. Article
  44.  
  45. Type
  46.  
  47. Number
  48.  
  49. Year
  50.  
  51. Obligation
  52.  
  53. Risk
  54.  
  55. Each company can choose which columns/fields their users can see from which module, and in which order. Ex, if Company Blue access Module B, they will see something like this:
  56.  
  57. Module B:
  58.  
  59. Main Article
  60.  
  61. Risks involved
  62.  
  63. Category
  64.  
  65. #
  66.  
  67. Year of release
  68.  
  69. Each module can have rows, and the rows have values associated to each module column:
  70.  
  71. Module B - Row 1:
  72.  
  73. Article: 32
  74.  
  75. Type: Script
  76.  
  77. Number: 7223
  78.  
  79. Year: 2017
  80.  
  81. Obligation: N/A
  82.  
  83. Risk: Radiation
  84.  
  85. Module B - Row 2:
  86.  
  87. Article: 117
  88.  
  89. Type: Order
  90.  
  91. Number: 153
  92.  
  93. Year: 1957
  94.  
  95. Obligation: Do something to prevent something
  96.  
  97. Risk: Environmental damage
  98.  
  99. A company can access multiple Rows
  100.  
  101. A Row can be accessed by multiple companies
  102.  
  103. When the user accesses the module, he sees all the rows the company has access to.
  104.  
  105. These modules can receive reviews or not in his rows, so I don't know the word for it, but it'll be something like reviewable, true or false.
  106.  
  107. If a module is reviewable all of his rows can receive reviews, otherwise, no of the rows can't receive reviews.
  108.  
  109. If a module is reviewable, each company has an especific review format for certain module, they can have different review fields, and a main review value. These review they can choose if will be numeric, by %, by a list of data [{label: Good, value = 1} , {label: Regular, value: 0.5} , {label: Bad, value: 0}] the list is not fixed it can be Excellent, good, okay, bad, very bad, etc...
  110.  
  111. And the review fields vary per company. ex:
  112.  
  113. Review format for Company Blue:
  114.  
  115. Stars (Main review value) [from 0 to 5]
  116.  
  117. Reason for value
  118.  
  119. Date
  120.  
  121. Review format for Company Red:
  122.  
  123. Percentage of success (Main review value) [from 0 to 100]
  124.  
  125. Details
  126.  
  127. Documents attached
  128.  
  129. Last review date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement