// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/domain/Visit.java
// @RooJavaBean
// @RooToString
// @RooJpaActiveRecord(sequenceName = "VISIT_SEQ", finders = { "findVisitsByDescriptionAndVisitDate", "findVisitsByVisitDateBetween", "findVisitsByDescriptionLike" })
// @GvNIXJpaAudit
// public class Visit {
// 
//     /**
//      */
//     @Size(max = 255)
//     private String description;
// 
//     /**
//      */
//     @NotNull
//     @Past
//     @Temporal(TemporalType.TIMESTAMP)
//     @DateTimeFormat(style = "M-")
//     private Date visitDate;
// 
//     /**
//      */
//     @NotNull
//     @ManyToOne
//     private Pet pet;
// 
//     /**
//      */
//     @ManyToOne
//     private Vet vet;
// }


import com.springsource.petclinic.domain.Visit;
import org.springframework.roo.addon.web.mvc.controller.annotations.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.gvnix.addon.web.mvc.annotations.jquery.GvNIXWebJQuery;
import org.gvnix.addon.datatables.annotations.GvNIXDatatables;
import org.gvnix.addon.loupefield.annotations.GvNIXLoupeController;
package com.springsource.petclinic.web;

@RequestMapping("/visits")
@Controller
// Path: quickstart-geo-app/src/main/java/com/springsource/petclinic/domain/Visit.java
// @RooJavaBean
// @RooToString
// @RooJpaActiveRecord(sequenceName = "VISIT_SEQ", finders = { "findVisitsByDescriptionAndVisitDate", "findVisitsByVisitDateBetween", "findVisitsByDescriptionLike" })
// @GvNIXJpaAudit
// public class Visit {
// 
//     /**
//      */
//     @Size(max = 255)
//     private String description;
// 
//     /**
//      */
//     @NotNull
//     @Past
//     @Temporal(TemporalType.TIMESTAMP)
//     @DateTimeFormat(style = "M-")
//     private Date visitDate;
// 
//     /**
//      */
//     @NotNull
//     @ManyToOne
//     private Pet pet;
// 
//     /**
//      */
//     @ManyToOne
//     private Vet vet;
// }


// Path: quickstart-repository-app/src/main/java/com/springsource/petclinic/web/VisitController.java
import com.springsource.petclinic.domain.Visit;
import org.springframework.roo.addon.web.mvc.controller.annotations.scaffold.RooWebScaffold;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.gvnix.addon.web.mvc.annotations.jquery.GvNIXWebJQuery;
import org.gvnix.addon.datatables.annotations.GvNIXDatatables;
import org.gvnix.addon.loupefield.annotations.GvNIXLoupeController;

package com.springsource.petclinic.web;

@RequestMapping("/visits")
@Controller
@RooWebScaffold(path = "visits", formBackingObject = Visit.class)