Add constraints to entity
Add constraints to entity