Ignore:
Timestamp:
May 8, 2009, 1:01:56 AM (15 years ago)
Author:
gav
Message:

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

File:
1 moved

Legend:

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

    r130 r131  
    1 class TaskAction {
    2     Task task
     1class MaintenanceAction {
     2
     3    TaskProcedure taskProcedure
    34    MaintenancePolicy maintenancePolicy
    45    SystemSection systemSection
     
    89    SubAssembly subAssembly
    910    ComponentItem componentItem
    10     String action
     11
     12    String description
    1113    String reasoning = ""
    12     Integer stepNumber
     14    Integer procedureStepNumber
    1315    boolean isActive = true
    1416
     
    1820
    1921    static constraints = {
     22        maintenancePolicy(blank:true, nullable:true)
    2023        systemSection(blank:true, nullable:true)
    2124        asset(blank:true, nullable:true)
     
    2427        subAssembly(blank:true, nullable:true)
    2528        componentItem(blank:true, nullable:true)
    26         stepNumber(blank:true, nullable:true)
     29        procedureStepNumber(blank:true, nullable:true)
    2730    }
    2831
    2932    String toString() {
    30         "${this.action}"
     33        "${this.description}"
    3134    }
    3235}
Note: See TracChangeset for help on using the changeset viewer.