Hi Nithya,
You can use boolean attribute to make book available or not. Add boolean attribute as IsAvailable in entity.
And if someone reading book make the IsAvailable = true and on return keep value as IsAvailable = false.
And if the value is false book will be available in library.