How to use the notnull annotation
The usage is to limit the value range of the field by setting field constraints to avoid data errors or situations that do not comply with business rules. For more information on how to use the notnull annotation, you can read the following article.