created a property to save the min id give in the database
using the function to determine the min(ID) and setting the default
value of the textfield to it.