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