You can use validation rules on the entity in the domain model. Double-click the entity and change to the Validation Rules tab to enter the checks.
Yes, you can use validation rules for this. They can be found in the domain model, when you open an entity, in the tab Validation Rules.
See also: https://world.mendix.com/display/refguide4/Validation+Rules