com.causecode.seo.sitemap.Sitemap.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nucleus Show documentation
Show all versions of nucleus Show documentation
nucleus is a Grails-Groovy plugin which contains utility methods, classes and endpoints.
package com.causecode.seo.sitemap
import groovy.transform.EqualsAndHashCode
import groovy.transform.ToString
/**
* Sitemap groovy class used to specify has many URL relationship.
*/
@ToString(includes = ['id'], includePackage = false)
@EqualsAndHashCode
class Sitemap {
static hasMany = [urlset: Url]
}