LendingObject(: String, : String, : String, : String, : ObjectOwner, : ObjectUser?, : List<ObjectUser> = emptyList())
creates a LendingObject that extend Serializable for onSafeInstance
id - the LendingObject's id
name - the name of the LendingObject
description - a short description text
type - a representing String the LendObjectType
owner - refers to the User that is the LendingObject's owner
user - refers to User that is the LendingObject's current user
waitingList - a List<User> that is the LendingObject's future users
Constructor
creates a LendingObject that extend Serializable for onSafeInstance