source: trunk/grails-app/domain/InventoryMovement.groovy @ 166

Last change on this file since 166 was 146, checked in by gav, 15 years ago

Remove invalid contraints reported by Tomcat debug logs.

File size: 404 bytes
Line 
1class InventoryMovement {
2    InventoryItem inventoryItem
3    InventoryMovementType inventoryMovementType
4    Task task
5    String quantity
6    Date date = new Date()
7
8    static belongsTo = [InventoryItem]
9
10    static constraints = {
11        inventoryItem()
12        quantity()
13        inventoryMovementType()
14        task(nullable:true)
15        date()
16    }
17
18    String toString() {"${this.quantity}"}
19}
Note: See TracBrowser for help on using the repository browser.