Ignore:
Timestamp:
Jan 19, 2009, 8:31:46 PM (15 years ago)
Author:
gavin
Message:

Remove TypeOfClass? and change to ClassType?. Update ERD to match.
Create and add openMimLogo/Icon.
Generate-all *.
Configure BootStrap? and add entries, some not saving yet.
Update DatabaseDesign?.tex and index.gsp

Location:
trunk/src/grails-app/domain
Files:
3 added
4 edited

Legend:

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

    r18 r21  
    88    static hasMany = [persons: Person]
    99
    10     static belongsTo = [TypeOfEntry, Task, Person]
     10    static belongsTo = [EntryType, Task, Person]
    1111
    1212    static constraints = {
  • trunk/src/grails-app/domain/Modification.groovy

    r18 r21  
    11class Modification {
    22    Person person
    3     TypeOfModification typeOfModification
     3    ModificationType modificationType
    44    Task task
    55    Date dateTime
    66    String comments
    77
    8     static belongsTo = [Person, TypeOfModification, Task]
     8    static belongsTo = [Person, ModificationType, Task]
    99
    1010    static constraints = {
    1111        person()
    12         typeOfModification()
     12        modificationType()
    1313        task()
    1414        dateTime()
  • trunk/src/grails-app/domain/Person.groovy

    r19 r21  
    77
    88    static hasMany = [modifications : Modification,
    9                         entries : Entry, tasks : Task,
     9                        entries : Entry,
     10                        tasks : Task,
    1011                        personGroups : PersonGroup]
    1112
  • trunk/src/grails-app/domain/PersonGroup.groovy

    r19 r21  
    11class PersonGroup {
    2     TypeOfPersonGroup typeOfPersonGroup
     2    PersonGroupType personGroupType
    33    String name
    44    String description = ""
     
    77    static hasMany = [persons : Person]
    88
    9     static belongsTo = TypeOfPersonGroup
     9    static belongsTo = PersonGroup
    1010
    1111    String toString() {
Note: See TracChangeset for help on using the changeset viewer.