Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
grails
/
samples
/
blog
/
grails-app
/
domain
/
Blog.groovy
blob: 364377a117e2f61f75ca7e42cce4da46849e970b [
file
] [
log
] [
blame
]
class
Blog
{
@Property
Long
id
;
@Property
Long
version
;
@Property
relationships
=
[
"entries"
:
Entry
.
class
]
@Property
User
owner
@Property
String
name
@Property
Set
entries
=
new
HashSet
()
@Property
constraints
=
{
name
(
blank
:
false
)
}
}