Changeset 402 for trunk/grails-app/domain
- Timestamp:
- Feb 23, 2010, 2:07:15 PM (15 years ago)
- Location:
- trunk/grails-app/domain
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Manufacturer.groovy
r397 r402 5 5 boolean isActive = true 6 6 7 static hasMany = [inventoryItems: InventoryItem, addresses: Address] 7 static hasMany = [contacts: Contact, 8 addresses: Address, 9 inventoryItems: InventoryItem] 8 10 9 11 static belongsTo = [InventoryItem] -
trunk/grails-app/domain/Person.groovy
r399 r402 6 6 entries: Entry, 7 7 tasks: Task, 8 contacts: Contact, 8 9 addresses: Address] 9 10 … … 15 16 String firstName 16 17 String lastName 17 String employeeID 18 String employeeID = '' 18 19 19 20 /* Set after login by 'welcome' action, default to 12 hours, aka "sess.setMaxInactiveInterval(seconds) */ … … 36 37 firstName(blank: false) 37 38 lastName(blank: false) 38 employeeID( blank: true, nullable:true)39 employeeID() 39 40 description() 40 41 department(nullable:true) … … 45 46 pass(blank: false, minSize:4) //minSize:7 46 47 sessionTimeout(min:60, max:43200) 47 48 48 } 49 49 -
trunk/grails-app/domain/Site.groovy
r397 r402 9 9 siteExtendedAttributes: SiteExtendedAttribute, 10 10 inventoryStores: InventoryStore, 11 contacts: Contact, 11 12 addresses: Address] 12 13 -
trunk/grails-app/domain/Supplier.groovy
r397 r402 5 5 boolean isActive = true 6 6 7 static hasMany = [inventoryItems: InventoryItem, addresses: Address] 7 static hasMany = [contacts: Contact, 8 addresses: Address, 9 inventoryItems: InventoryItem] 8 10 9 11 static belongsTo = [InventoryItem]
Note: See TracChangeset
for help on using the changeset viewer.