yahiaelgamal/smartsoft-14

Class Diagram Modification

Opened this issue · 3 comments

@sedramina

please update the class diagram with these 2 new models and attributes:

  1. model: Wishline
    attributes:
    quantity, type: Integer
    item_id , type: Integer
    wishlist_id , type: Integer
    belongs_to :item , class_name: 'Item'
    belongs_to :wishlist , class_name: 'Wishlist'

  2. model: Wishlist
    attributes:
    has_many :wishline , class_name: 'Wishline'
    belongs_to :member , class_name: 'Member'

okay 👍

there is no attributes for Wishlist ? @kalamoni

@sedramina yes. only 2 relations