Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. class SomeDomain{
  2. // Fields from beginning
  3. .............
  4. // Two fields added afterwards
  5. String fieldA
  6. String fieldB
  7. static constraints = {
  8. // Constraints on initial fields
  9. ...............
  10. // Constraints on fields added afterwards
  11. fieldA(nullable: true)
  12. fieldB(nullable: true)
  13. }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement