Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- A company can have many users
- A user can only be part of 1 company
- A company can access multiple modules (Company Blue can access modules A and B)
- A module can be accessed by multiple companies (Module A can be accessed by Company Red and Company Blue)
- 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)
- A module can be accessed by multiple users from different companies.
- A module can have certain fields or columns, example:
- Module A:
- Items
- Description
- Category
- Year
- Main Task
- Module B:
- Article
- Type
- Number
- Year
- Obligation
- 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.
- Module B:
- Article
- Type
- Number
- Year
- Obligation
- Risk
- 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:
- Module B:
- Main Article
- Risks involved
- Category
- #
- Year of release
- Each module can have rows, and the rows have values associated to each module column:
- Module B - Row 1:
- Article: 32
- Type: Script
- Number: 7223
- Year: 2017
- Obligation: N/A
- Risk: Radiation
- Module B - Row 2:
- Article: 117
- Type: Order
- Number: 153
- Year: 1957
- Obligation: Do something to prevent something
- Risk: Environmental damage
- A company can access multiple Rows
- A Row can be accessed by multiple companies
- When the user accesses the module, he sees all the rows the company has access to.
- 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.
- If a module is reviewable all of his rows can receive reviews, otherwise, no of the rows can't receive reviews.
- 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...
- And the review fields vary per company. ex:
- Review format for Company Blue:
- Stars (Main review value) [from 0 to 5]
- Reason for value
- Date
- Review format for Company Red:
- Percentage of success (Main review value) [from 0 to 100]
- Details
- Documents attached
- Last review date
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement