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

Last change on this file since 79 was 79, checked in by robertkerkhoven, 10 years ago

Added three domain classes for the storage of micro-array data.

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