Changeset 147 for trunk/grails-app/domain
- Timestamp:
- Oct 8, 2009, 7:58:38 PM (15 years ago)
- Location:
- trunk/grails-app/domain
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Authority.groovy
r58 r147 12 12 description() 13 13 } 14 15 String toString() { 16 "${this.authority}" 17 } 14 18 } -
trunk/grails-app/domain/Person.groovy
r139 r147 33 33 34 34 static constraints = { 35 loginName(blank: false, unique: true, minSize:4) //minSize:735 loginName(blank: false, unique: true, minSize:4) //minSize:7 36 36 firstName(blank: false) 37 37 lastName(blank: false) … … 44 44 password(blank: false) 45 45 //So we need to use pass for validation then encode it for above. 46 pass(blank: false, minSize:4) 46 pass(blank: false, minSize:4) //minSize:7 47 47 sessionTimeout(min:60, max:43200) 48 48 -
trunk/grails-app/domain/Task.groovy
r146 r147 20 20 21 21 static hasMany = [entries: Entry, 22 taskModifications: TaskModification, 23 assignedPersons: AssignedPerson, 22 taskModifications: TaskModification, 23 assignedPersons: AssignedPerson, 24 24 subTasks: Task, 25 25 associatedAssets: Asset,
Note: See TracChangeset
for help on using the changeset viewer.