source: trunk/grails-app/domain/api/Token.groovy @ 2181

Last change on this file since 2181 was 2181, checked in by work@…, 9 years ago
  • adding initial version of the API controller (which external applications can use to interface with gscf)
File size: 449 bytes
Line 
1/**
2 * Token Domain Class
3 *
4 * Description of my domain class
5 *
6 * @author  your email (+name?)
7 * @since       2010mmdd
8 * @package     ???
9 *
10 * Revision information:
11 * $Rev$
12 * $Author$
13 * $Date$
14 */
15package api
16
17class Token {
18    String deviceID
19    String deviceToken
20    BigInteger sequence
21
22    static constraints = {
23        deviceID nullable: false, unique: true, maxSize: 36
24        deviceToken nullable: false, unique: true, maxSize: 36
25    }
26}
Note: See TracBrowser for help on using the repository browser.