Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constraint: AssetBed Relations #934

Closed
gigincg opened this issue Jul 18, 2022 · 1 comment
Closed

Constraint: AssetBed Relations #934

gigincg opened this issue Jul 18, 2022 · 1 comment
Assignees

Comments

@gigincg
Copy link
Member

gigincg commented Jul 18, 2022

Currently AssetBed Relations are ManyToMany. Even though the Relation should work the same, we need to enforce constraints for this.

  • HL7Monitor Assets can have only 1 Bed Associated with it.
  • ONVIFCamera Assets can have multiple beds associated with it. One Bed Can have multiple Assets too
  • Assets that are neither HL7Monitor nor ONVIFCamera should not have Bed Relations

cc: @vigneshhari

@siddnikh siddnikh self-assigned this Jul 25, 2022
@siddnikh siddnikh removed their assignment Aug 8, 2022
@Krishna-Sivakumar Krishna-Sivakumar self-assigned this Sep 7, 2022
@sainak sainak linked a pull request Sep 9, 2022 that will close this issue
2 tasks
@sainak
Copy link
Member

sainak commented Aug 22, 2023

fixed in #1524

@sainak sainak closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants