daily pastebin goal
12%
SHARE
TWEET

Untitled

a guest Oct 21st, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package test
  2.  
  3. class Pais {
  4.     String nombre
  5.  
  6.     static hasMany = [estados:Estado]
  7.  
  8.     static constraints = {
  9.         nombre(blank:false)
  10.     }
  11.  
  12.     String toString() {
  13.         nombre
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top