Ignore:
Timestamp:
Jan 25, 2011, 6:41:00 PM (14 years ago)
Author:
gav
Message:

Domain change, remove unused fields from TaskProcedure?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/domain/TaskProcedure.groovy

    r131 r754  
    11class TaskProcedure {
    2 
    3     String name
    4     String description = ""
    5     Boolean isActive = true
    62
    73    static hasMany = [tasks: Task, maintenanceActions: MaintenanceAction]
     
    106
    117    static constraints = {
    12         name(maxSize:75,unique:true,blank:false)
    13         description(maxSize:100)
    148    }
    159
    1610    String toString() {
    17         "${this.name}"
     11        "${this.id}"
    1812    }
    1913}
Note: See TracChangeset for help on using the changeset viewer.