Changeset 59 for branches/TaskRewrite/src/grails-app/domain
- Timestamp:
- Feb 8, 2009, 11:28:04 PM (16 years ago)
- Location:
- branches/TaskRewrite/src/grails-app/domain
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TaskRewrite/src/grails-app/domain/Person.groovy
r58 r59 1 1 class Person { 2 2 static transients = ['pass'] 3 static hasMany = [authorities: Authority] 4 static belongsTo = Authority 3 static hasMany = [authorities: Authority, 4 personGroups: PersonGroup] 5 // modifications: Modification, 6 // entries: Entry, 7 // tasks: Task] 8 9 static belongsTo = [Authority, PersonGroup] 5 10 6 11 String loginName … … 25 30 26 31 static constraints = { 27 loginName(blank: false, unique: true) 32 loginName(blank: false, unique: true)//minSize:7 28 33 firstName(blank: false) 29 34 lastName(blank: false) 30 password(blank: false) 35 password(blank: false) //minSize:7 31 36 employeeID(blank: true, nullable:true) 32 37 }
Note: See TracChangeset
for help on using the changeset viewer.