The library number is unique for each client and has data type long (4 bytes). A ‘Client’ object would roughly be 34 to 40 bytes in size.
The ‘Issuance’ object contains the issuance details of the client. It includes the client’s library number for identification (data type: long, 4 bytes), the book number (unique) of the book issued (data type: long, 4 bytes), the book’s name (data type: string of variable length) and the date of issuing (data type: date, 3 bytes ). The status of the book whether having been returned to the library or not is also saved in the object (data type: Boolean, 1 byte). An ‘Issuance’ object would roughly be 32 bytes in size.
The ‘Daily Rate‘ object comprises of the book’s number (data type: long, 4 bytes) and the daily issue rate (data type: decimal, 5 bytes) of that book. A ‘Daily Rate’ object would be 9 bytes in ...Show more