Ignore:
Timestamp:
Apr 14, 2009, 10:16:05 PM (16 years ago)
Author:
gav
Message:

First commit of Inventory domain, including domain-classes, controllers, views and bootstrap. Also double check/adjust as required security extends in controllers.

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

Legend:

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

    r66 r116  
    77   
    88    static contstraints = {
     9        name(maxSize:50,unique:true,blank:false)
     10        description(maxSize:100)
    911    }
    1012
  • trunk/grails-app/domain/Task.groovy

    r106 r116  
    66    Task    parentTask
    77    Person leadPerson
     8    Asset primaryAsset
    89    String description
    910    String comment = ""
     
    1718                        taskModifications: TaskModification,
    1819                        assignedPersons: AssignedPerson,
    19                         subTasks: Task]
     20                        subTasks: Task,
     21                        associatedAssets: Asset,
     22                        inventoryMovements: InventoryMovement]
    2023
    2124    static belongsTo = [TaskGroup, TaskStatus, Task, Person]
     
    2932        parentTask(blank: true, nullable:true)
    3033        comment()
     34        primaryAsset(blank: true, nullable:true)
    3135       
    3236    }
  • trunk/grails-app/domain/TaskModificationType.groovy

    r93 r116  
    77
    88    static constraints = {
     9        name(maxSize:50,unique:true,blank:false)
     10        description(maxSize:100)
    911    }
    1012
Note: See TracChangeset for help on using the changeset viewer.