Ignore:
Timestamp:
Nov 25, 2008, 3:58:19 PM (15 years ago)
Author:
tuxta
Message:

Set up BootStrap? and tweaked Domain classes

File:
1 edited

Legend:

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

    r18 r19  
    22    TypeOfPersonGroup typeOfPersonGroup
    33    String name
    4     String description
    5     boolean isActive
     4    String description = ""
     5    boolean isActive = true
    66
    77    static hasMany = [persons : Person]
    88
    99    static belongsTo = TypeOfPersonGroup
     10
     11    String toString() {
     12        "${this.name}"
     13    }
    1014}
Note: See TracChangeset for help on using the changeset viewer.