Klaurac 0 Newbie Poster

Hello

There is this school project I'm working on, my first bigger one.
It is a video Rental, I added the UML diagrams into the attachment as jpg file, the symbols may be off in the UML.

I figured out this architecture,
I want your opinion if it is any good and how to do it better.

Scheme: User object has VideoRental object, Videorental has Video objects as PersonalVideo and RentedVideo(Vide the User has rented from someone). There can be many users.
Now it gets more complicated, the user can also rent out videos.
I at first thought I could use three video subclasses: PersonalVideo, RentedVideo, RentedOutVideo. But It looks weird, since RentedOutVideo doesn't seem to fit and because of the duplicate, I don't want to erase it as the PersonalVideo.

So I thought I could use an interface, and add that interface to the PersonalVideo when it is rented out and always to the RentedVideo. But I think it isn't possible to add an interface when running the program.

Thank you for your time