source: trunk/grails-app/domain/magetab/idf/Publication.groovy @ 63

Last change on this file since 63 was 63, checked in by ademcan, 9 years ago

Parsing and Loading information from an IDF file (MageTab?). Actually working for Person, Publication and Protocol attributs.
The file path has to be changed for every user in LoadController?.groovy

File size: 370 bytes
Line 
1package magetab.idf
2
3class Publication {
4
5    String title
6    String pubMedID
7    String DOI
8    OntologyTerm status
9
10    static hasMany = [
11        authors: Person
12    ]
13
14    static constraints = {
15        status(nullable:true,blank:true)
16        title(nullable:true,blank:true)
17        pubMedID(nullable:true,blank:true)
18        DOI(nullable:true,blank:true)
19    }
20}
Note: See TracBrowser for help on using the repository browser.