| 5 | | R(!UserId, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, !BookId, Title, Author, Language, !ImageURL, !BookISBNId, ISBN, !GenreId, Genre, !InventoryId, Availability, Condition, !WishId, Priority, !RequestId, !RequestStatus, !RequestDate, !TransactionId, !BorrowDate, !ReturnDate, !BorrowDuration, !SwapId, !ReviewId, Rating, !ReviewerComment, !ReviewDate, !MessageId, !MsgTime, !MsgDate, !MessageContent, !FriendshipId, !DateCreated, !FriendshipStatus, !ReportId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !NotificationId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus) |
| | 5 | R(!UserId, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, !BookId, Title, Author, Language, !ImageURL, !BookISBNId, ISBN, !GenreId, Genre, !InventoryId, Availability, Condition, !WishId, Priority, !RequestId, !RequestStatus, !RequestDate, !TransactionId, !BorrowDate, !ReturnDate, !BorrowDuration, !SwapId, !ReviewId, Rating, !ReviewerComment, !ReviewDate, !MessageId, !MsgTime, !MsgDate, !MessageContent, !FriendshipId, !DateCreated, !FriendshipStatus, !ReportId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !NotificationId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !RequesterId, !OwnerId, !BorrowerId, !LenderId, !TransactionId1, !TransactionId2, !ReceiverId, !GiverId, !MsgSenderId, !MsgReceiverId, !FriendshipSenderId, !FriendshipReceiverId, !ReportedUserId, !ReportingUserId) |
| 26 | | !RequestId -> !UserId, !BookId, !InventoryId, !RequestStatus, !RequestDate |
| 27 | | |
| 28 | | !TransactionId -> !RequestId, !UserId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration |
| 29 | | |
| 30 | | !SwapId -> !TransactionId |
| 31 | | |
| 32 | | !ReviewId -> !TransactionId, !UserId, Rating, !ReviewerComment, !ReviewDate |
| 33 | | |
| 34 | | !MessageId -> !UserId, !MsgTime, !MsgDate, !MessageContent |
| 35 | | |
| 36 | | !FriendshipId -> !UserId, !DateCreated, !FriendshipStatus |
| 37 | | |
| 38 | | !ReportId -> !UserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity |
| 39 | | |
| 40 | | Notification -> !NotificationId, !TransactionId, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus |
| 41 | | |
| 42 | | ---- |
| 43 | | |
| 44 | | **Лево**: BookISBNId, !GenreId, !WishId, !SwapId, !ReviewId, !ReportId |
| 45 | | |
| 46 | | **Десно**: !FirstName, !LastName, Password, City, Neighborhood, Bio, Quote, Title, Author, Language, !ImageURL, ISBN, Genre, Availability, Condition, Priority, !RequestStatus, !RequestDate, !BorrowDate, !ReturnDate, !BorrowDuration, Rating, !ReviewerComment, !ReviewDate, !MsgTime, !MsgDate, !MessageContent ,!DateCreated, !FriendshipStatus, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, Type, !NotifTime, !NotifDate, Description, !NotificationStatus |
| 47 | | |
| 48 | | **Од двете страни**: !UserId, Email, Username, !BookId, !InventoryId, !RequestId, !TransactionId, !MessageId, !FriendshipId, !NotificationId |
| | 26 | !RequestId -> !RequesterId, !OwnerId, !BookId, !InventoryId, !RequestStatus, !RequestDate |
| | 27 | |
| | 28 | !TransactionId -> !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration |
| | 29 | |
| | 30 | !SwapId -> !TransactionId1, !TransactionId2 |
| | 31 | |
| | 32 | !ReviewId -> !TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate |
| | 33 | |
| | 34 | !MessageId -> !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent |
| | 35 | |
| | 36 | !FriendshipId -> !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus |
| | 37 | |
| | 38 | !ReportId -> !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity |
| | 39 | |
| | 40 | !NotificationId -> !TransactionId, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus |
| | 41 | |
| | 42 | |
| | 43 | ---- |
| | 44 | |
| | 45 | **Лево**: BookISBNId, !GenreId, !WishId, !SwapId, !ReviewId, !ReportId, NotificationId |
| | 46 | |
| | 47 | **Десно**: !FirstName, !LastName, Password, City, Neighborhood, Bio, Quote, Title, Author, Language, !ImageURL, ISBN, Genre, Availability, Condition, Priority, !RequestStatus, !RequestDate, !BorrowDate, !ReturnDate, !BorrowDuration, Rating, !ReviewerComment, !ReviewDate, !MsgTime, !MsgDate, !MessageContent ,!DateCreated, !FriendshipStatus, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !RequesterId, !OwnerId, !BorrowerId, !LenderId, !TransactionId1, !TransactionId2, !ReceiverId, !GiverId, !MsgSenderId, !MsgReceiverId, !FriendshipSenderId, !FriendshipReceiverId, !ReportedUserId, !ReportingUserId |
| | 48 | |
| | 49 | **Од двете страни**: !UserId, Email, Username, !BookId, !InventoryId, !RequestId, !TransactionId, !MessageId, !FriendshipId |
| 66 | | !SwapId += {!TransactionId, !RequestId, !UserId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, !BookId, !RequestStatus, !RequestDate, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, Availability, Condition, Title, Author, Language, !ImageURL} |
| 67 | | |
| 68 | | Не ги содржи сите атрибути |
| 69 | | |
| 70 | | !ReviewId += {!TransactionId, !UserId, Rating, !ReviewerComment, !ReviewDate, !RequestId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, !BookId, !RequestStatus, !RequestDate, Availability, Condition, Title, Author, Language, !ImageURL} |
| 71 | | |
| 72 | | Не ги содржи сите атрибути |
| 73 | | |
| 74 | | !ReportId += {!UserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote} |
| 75 | | |
| 76 | | Не ги содржи сите атрибути |
| 77 | | |
| 78 | | **!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId** = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, Rating, !ReviewerComment, !ReviewDate, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, Availability, Condition, !BookId, Title, Author, Language, !ImageURL, ISBN, Genre, Priority, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} **Следува дека е единствен кандидат клуч и го прогласуваме за примарен клуч.** |
| | 67 | !SwapId += {!TransactionId1, !TransactionId2, !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, Availability, Condition, !BookId, Title, Author, Language, !ImageURL} |
| | 68 | |
| | 69 | Не ги содржи сите атрибути |
| | 70 | |
| | 71 | !ReviewId += {!TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate, |
| | 72 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 73 | !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote , |
| | 74 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 75 | Availability, Condition, |
| | 76 | Title, Author, Language, !ImageURL } |
| | 77 | |
| | 78 | Не ги содржи сите атрибути |
| | 79 | |
| | 80 | !ReportId += {!ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 81 | !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote} |
| | 82 | |
| | 83 | Не ги содржи сите атрибути |
| | 84 | |
| | 85 | !NotificationId += {!TransactionId, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 86 | !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 87 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 88 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus, |
| | 89 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 90 | !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, |
| | 91 | !UserId, Availability, Condition, |
| | 92 | Title, Author, Language, !ImageURL} |
| | 93 | |
| | 94 | Не ги содржи сите атрибути |
| | 95 | |
| | 96 | |
| | 97 | !ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId = |
| | 98 | {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId |
| | 99 | !TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate, |
| | 100 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 101 | !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote , |
| | 102 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 103 | Availability, Condition, |
| | 104 | Title, Author, Language, !ImageURL, |
| | 105 | ISBN, Genre, !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 106 | !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 107 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 108 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 109 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 110 | |
| | 111 | **Следува дека { !ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId } е единствен кандидат клуч и го прогласуваме за примарен клуч.** |
| | 112 | |
| 100 | | R2 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, Rating, !ReviewerComment, !ReviewDate, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote, Availability, Condition, **!BookId**, ISBN, Genre, Priority, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| | 134 | R2 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId |
| | 135 | !TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate, |
| | 136 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 137 | !FirstName, !LastName, Email, Username, Password, City, Neighborhood, Bio, Quote , |
| | 138 | !RequesterId, !OwnerId, **!BookId**, !RequestStatus, !RequestDate, |
| | 139 | Availability, Condition, |
| | 140 | ISBN, Genre, !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 141 | !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 142 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 143 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 144 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| 116 | | R4 = {!ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, **!UserId**, Rating, !ReviewerComment, !ReviewDate, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, Availability, Condition, !BookId, ISBN, Genre, Priority, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| | 160 | R4 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId |
| | 161 | !TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate, |
| | 162 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 163 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 164 | Availability, Condition, |
| | 165 | ISBN, Genre, **!UserId**, Priority, !TransactionId1, !TransactionId2, |
| | 166 | !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 167 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 168 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 169 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| 125 | | R6 = { !ReviewId, **!BookISBNId**, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, Rating, !ReviewerComment, !ReviewDate, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, Availability, Condition, !BookId, Genre, Priority, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| | 178 | R6 = {!ReviewId, **BookISBNId**, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId |
| | 179 | !TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate, |
| | 180 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 181 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 182 | Availability, Condition, |
| | 183 | Genre, !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 184 | !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 185 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 186 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 187 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 188 | |
| 133 | | R8 = { !ReviewId, !BookISBNId, **!GenreId**, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, Rating, !ReviewerComment, !ReviewDate, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, Availability, Condition, !BookId, Priority, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| 134 | | |
| 135 | | ---- |
| 136 | | |
| 137 | | R9 = {**!ReviewId**, Rating, !ReviewerComment, !ReviewDate} |
| 138 | | |
| 139 | | ---- |
| 140 | | |
| 141 | | R10 = { **!ReviewId**, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, !Availability, !Condition, !BookId, !Priority, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| 142 | | |
| 143 | | ---- |
| 144 | | |
| 145 | | R11 = {**!ReportId**, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity} |
| 146 | | |
| 147 | | ---- |
| 148 | | |
| 149 | | R12 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, **!ReportId**, !NotificationId, !TransactionId, !UserId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, Availability, Condition, !BookId, Priority, !MessageId, !FriendshipId, !RequestId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| | 196 | R8 = {!ReviewId, BookISBNId, **!GenreId**, !WishId, !SwapId, !ReportId, !NotificationId |
| | 197 | !TransactionId, !ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate, |
| | 198 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 199 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 200 | Availability, Condition, |
| | 201 | !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 202 | !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 203 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 204 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 205 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 206 | |
| | 207 | ---- |
| | 208 | |
| | 209 | R9 = {**!ReviewId**, ReceiverId, !GiverId, Rating, !ReviewerComment, !ReviewDate} |
| | 210 | |
| | 211 | ---- |
| | 212 | |
| | 213 | R10 = {**!ReviewId**, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, |
| | 214 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 215 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 216 | Availability, Condition, |
| | 217 | !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 218 | !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity, |
| | 219 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 220 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 221 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 222 | |
| | 223 | ---- |
| | 224 | |
| | 225 | R11 = {**!ReportId**, !ReportedUserId, !ReportingUserId, !ReportType, !ReportDate, Details, !ReportStatus, !ReportedEntity} |
| | 226 | |
| | 227 | ---- |
| | 228 | |
| | 229 | R12 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, **!ReportId**, !NotificationId, !TransactionId, |
| | 230 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 231 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 232 | Availability, Condition, |
| | 233 | !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 234 | !MessageId, !FriendshipId, Type, !NotifTime, !NotifDate, Description, !NotificationStatus, |
| | 235 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 236 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| 157 | | R14 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, **!NotificationId**, !TransactionId, !UserId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, Availability, Condition, !BookId, Priority, !MessageId, !FriendshipId, !RequestId, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| 158 | | |
| 159 | | ---- |
| 160 | | |
| 161 | | R15 = {**!TransactionId**, !BorrowDate, !ReturnDate, !BorrowDuration} |
| 162 | | |
| 163 | | ---- |
| 164 | | |
| 165 | | R16 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, **!TransactionId**, !UserId, !InventoryId, Availability, Condition, !BookId, Priority, !MessageId, !FriendshipId, !RequestId, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| | 244 | R14 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, **!NotificationId**, !TransactionId, |
| | 245 | !RequestId, !BorrowerId, !LenderId, !InventoryId, !BorrowDate, !ReturnDate, !BorrowDuration, |
| | 246 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 247 | Availability, Condition, |
| | 248 | !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 249 | !MessageId, !FriendshipId, |
| | 250 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 251 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 252 | |
| | 253 | ---- |
| | 254 | |
| | 255 | R15 = {**!TransactionId**, !BorrowerId, !LenderId, !BorrowDate, !ReturnDate, !BorrowDuration} |
| | 256 | |
| | 257 | ---- |
| | 258 | |
| | 259 | R16 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, **!TransactionId**, |
| | 260 | !RequestId, !InventoryId, |
| | 261 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 262 | Availability, Condition, |
| | 263 | !UserId, Priority, !TransactionId1, !TransactionId2, |
| | 264 | !MessageId, !FriendshipId, |
| | 265 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 266 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| 181 | | R20 = { !ReviewId, !BookISBNId, !GenreId, **!WishId**, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, !InventoryId, !BookId, !MessageId, !FriendshipId, !RequestId, !MsgTime, !MsgDate, !MessageContent, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| 182 | | |
| 183 | | ---- |
| 184 | | |
| 185 | | R21 = {**!MessageId**, !MsgTime, !MsgDate, !MessageContent} |
| 186 | | |
| 187 | | ---- |
| 188 | | |
| 189 | | R22 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, !InventoryId, !BookId, **!MessageId**, !FriendshipId, !RequestId, !DateCreated, !FriendshipStatus, !RequestStatus, !RequestDate} |
| 190 | | |
| 191 | | ---- |
| 192 | | |
| 193 | | R23 = {**!FriendshipId**, !DateCreated, !FriendshipStatus} |
| 194 | | |
| 195 | | ---- |
| 196 | | |
| 197 | | R24 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, !InventoryId, !BookId, !MessageId, **!FriendshipId**, !RequestId, !RequestStatus, !RequestDate} |
| 198 | | |
| 199 | | ---- |
| 200 | | |
| 201 | | R25 = {**!RequestId**, !RequestStatus, !RequestDate} |
| 202 | | |
| 203 | | ---- |
| 204 | | |
| 205 | | R26 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, !InventoryId, !BookId, !MessageId, !FriendshipId, **!RequestId**} |
| | 288 | R20 = {!ReviewId, BookISBNId, !GenreId, **!WishId**, !SwapId, !ReportId, !NotificationId, !TransactionId, |
| | 289 | !RequestId, !InventoryId, |
| | 290 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 291 | !UserId, !TransactionId1, !TransactionId2, |
| | 292 | !MessageId, !FriendshipId, |
| | 293 | !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent, |
| | 294 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 295 | |
| | 296 | ---- |
| | 297 | |
| | 298 | R21 = {**!MessageId**, !MsgSenderId, !MsgReceiverId, !MsgTime, !MsgDate, !MessageContent} |
| | 299 | |
| | 300 | ---- |
| | 301 | |
| | 302 | R22 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, |
| | 303 | !RequestId, !InventoryId, |
| | 304 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 305 | !UserId, !TransactionId1, !TransactionId2, |
| | 306 | **!MessageId**, !FriendshipId, |
| | 307 | !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 308 | |
| | 309 | ---- |
| | 310 | |
| | 311 | R23 = {**!FriendshipId**, !FriendshipSenderId, !FriendshipReceiverId, !DateCreated, !FriendshipStatus} |
| | 312 | |
| | 313 | ---- |
| | 314 | |
| | 315 | R24 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, |
| | 316 | !RequestId, !InventoryId, |
| | 317 | !RequesterId, !OwnerId, !BookId, !RequestStatus, !RequestDate, |
| | 318 | !UserId, !TransactionId1, !TransactionId2, |
| | 319 | !MessageId, **!FriendshipId**} |
| | 320 | |
| | 321 | ---- |
| | 322 | |
| | 323 | R25 = {**!RequestId**, !RequesterId, !OwnerId,, !RequestStatus, !RequestDate} |
| | 324 | |
| | 325 | ---- |
| | 326 | |
| | 327 | R26 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, |
| | 328 | **!RequestId**, !InventoryId, |
| | 329 | !BookId, |
| | 330 | !UserId, !TransactionId1, !TransactionId2, |
| | 331 | !MessageId, !FriendshipId} |
| | 332 | |
| | 333 | ---- |
| | 334 | |
| | 335 | R27 = { **!SwapId**, !TransactionId1, !TransactionId2 } |
| | 336 | |
| | 337 | ---- |
| | 338 | |
| | 339 | R28 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, |
| | 340 | **!RequestId**, !InventoryId, |
| | 341 | !BookId, |
| | 342 | !UserId, |
| | 343 | !MessageId, !FriendshipId} |
| | 344 | |
| 253 | | R21 = {!MessageId, !MsgTime, !MsgDate, !MessageContent} |
| 254 | | |
| 255 | | **Friendship** |
| 256 | | |
| 257 | | R23 = {!FriendshipId, !DateCreated, !FriendshipStatus} |
| 258 | | |
| 259 | | **!BookRequest** |
| 260 | | |
| 261 | | R25 = {!RequestId, !RequestStatus, !RequestDate} |
| 262 | | |
| 263 | | **!EntityLinks** |
| 264 | | |
| 265 | | R26 = { !ReviewId, !BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !UserId, !InventoryId, !BookId, !MessageId, !FriendshipId, !RequestId} |
| | 414 | R21 = {**__!MessageId__**, **__!MsgSenderId*__**, **__!MsgReceiverId*__**, **!MsgTime**, **!MsgDate**, **!MessageContent**} |
| | 415 | • !MsgSenderId референцира кон !AppUser(!UserId) |
| | 416 | • !MsgReceiverId референцира кон !AppUser(!UserId) |
| | 417 | |
| | 418 | |
| | 419 | **FriendRequest** |
| | 420 | |
| | 421 | R23 = {**__!FriendshipId__**, **__!FriendshipSenderId*__**, **__!FriendshipReceiverId*__**, **!DateCreated**, **!FriendshipStatus**} |
| | 422 | • !FriendshipSenderId референцира кон !AppUser(!UserId) |
| | 423 | • !FriendshipReceiverId референцира кон !AppUser(!UserId) |
| | 424 | |
| | 425 | **BookRequest** |
| | 426 | |
| | 427 | R25 = {**__!RequestId__**, **__!RequesterId*__**, **__!OwnerId*__**, **!RequestStatus**, **!RequestDate**} |
| | 428 | • !RequesterId референцира кон !AppUser(!UserId) |
| | 429 | • !OwnerId референцира кон !AppUser(!UserId) |
| | 430 | |
| | 431 | **Swap** |
| | 432 | |
| | 433 | R27 = {**__SwapId__**, **__TransactionId1__**, **__TransactionId2__**} |
| | 434 | • TransactionId1 референцира кон Transaction(!TransactionId) |
| | 435 | • TransactionId2 референцира кон Transaction(!TransactionId) |
| | 436 | |
| | 437 | |
| | 438 | **!LinkingEntities** |
| | 439 | |
| | 440 | R28 = {!ReviewId, BookISBNId, !GenreId, !WishId, !SwapId, !ReportId, !NotificationId, !TransactionId, !RequestId, !InventoryId, !BookId, !UserId, !MessageId, !FriendshipId} |
| | 441 | |