Ignore:
Timestamp:
Feb 23, 2010, 2:07:15 PM (14 years ago)
Author:
gav
Message:

Add contacts to Person, Supplier, Manufacturer and Site.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/Person.groovy

    r399 r402  
    66                        entries: Entry,
    77                        tasks: Task,
     8                        contacts: Contact,
    89                        addresses: Address]
    910
     
    1516    String firstName
    1617    String lastName
    17     String employeeID
     18    String employeeID = ''
    1819
    1920    /* Set after login by 'welcome' action, default to 12 hours, aka "sess.setMaxInactiveInterval(seconds) */
     
    3637        firstName(blank: false)
    3738        lastName(blank: false)
    38         employeeID(blank: true, nullable:true)
     39        employeeID()
    3940        description()
    4041        department(nullable:true)
     
    4546        pass(blank: false, minSize:4) //minSize:7
    4647        sessionTimeout(min:60, max:43200)
    47 
    4848    }
    4949
Note: See TracChangeset for help on using the changeset viewer.