This document describes several classes used to model different entities in a social media application, including classes for Roles, Permissions, Photos, Users, Posts, Shares, and Friends. Each class contains attributes like IDs, names and descriptions as well as common methods for adding, updating, deleting and searching instances of the class.
This document describes several classes used to model different entities in a social media application, including classes for Roles, Permissions, Photos, Users, Posts, Shares, and Friends. Each class contains attributes like IDs, names and descriptions as well as common methods for adding, updating, deleting and searching instances of the class.
This document describes several classes used to model different entities in a social media application, including classes for Roles, Permissions, Photos, Users, Posts, Shares, and Friends. Each class contains attributes like IDs, names and descriptions as well as common methods for adding, updating, deleting and searching instances of the class.
Role title : string Permission description : string Photo type : string addRole() Photo name : string addPermission () Photo description : string updateRole() updatePermission () deleteRole() Photo size : string deletePermission () addPhotos () searchRole() searchPermission () updatePhotos () deletePhotos() searchPhotos () User class User id : int User name : string User email : string addUser() updateUser() deleteUser() searchUser()
Post class Shares class Friends class
Post id : int Share id : int Friend id : int Post title : string Share type : string Friend name : string Post description : string Share name : string Friend email : string addPost() Share description : string Friend username : string updatePost() addShare() add Friend() deletePos () updateShare() update Friend() searchPost() deleteShare() delete Friend() searchShare() search Friend()