source:
branches/features/purchaseOrders/grails-app/domain/PurchaseOrder.groovy
@
893
Last change on this file since 893 was 892, checked in by , 14 years ago | |
---|---|
File size: 320 bytes |
Line | |
---|---|
1 | class PurchaseOrder { |
2 | |
3 | Supplier supplier |
4 | |
5 | String comments |
6 | Date ordered |
7 | |
8 | static hasMany = [inventoryItemPurchases: InventoryItemPurchase] |
9 | |
10 | static belongsTo = [purchaseOrderNumber: PurchaseOrderNumber] |
11 | |
12 | static constraints = { |
13 | comments(nullable:true) |
14 | ordered(nullable:true) |
15 | } |
16 | |
17 | } |
Note: See TracBrowser
for help on using the repository browser.