source: trunk/grails-app/domain/dbnp/transcriptomics/data/Expression.groovy @ 80

Last change on this file since 80 was 80, checked in by keesvb, 12 years ago

added Event and ProtocolInstance? classes, updated DataSource? to work with 1.2, added packages to dbnp.transcriptomics.data classes, added a number of scaffold controllers, added Selenium tests

File size: 897 bytes
Line 
1package dbnp.transcriptomics.data
2/**
3 * The Chip entity.
4 * Author
5 * drs. Robert Kerkhoven
6 * robert_kerkhoven@hotmail.com
7 * robert.kerkhoven@wur.nl
8 *
9 * Generated by the Grails Appliation Generator
10 *
11 */
12class Expression {
13    static mapping = {
14         table 'expression'
15         // version is set to false, because this isn't available by default for legacy databases
16         version false
17         id generator:'identity', column:'id'
18         annotationIdChipAnnotation column:'annotation_id'
19    }
20    Integer id
21    Integer studySampleAssayId
22    Double expression
23    // Relation
24    ChipAnnotation annotationIdChipAnnotation
25
26    static constraints = {
27        id(max: 2147483647)
28        studySampleAssayId(max: 2147483647)
29        expression()
30        annotationIdChipAnnotation()
31    }
32    String toString() {
33        return "${id}" 
34    }
35}
Note: See TracBrowser for help on using the repository browser.