Ignore:
Timestamp:
Feb 9, 2010, 1:17:54 AM (15 years ago)
Author:
gav
Message:

Add comment attribute to Asset and limit description to 75 char.
Update service and detailed views to suite.

File:
1 edited

Legend:

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

    r286 r329  
    55    String name
    66    String description = ""
     7    String comment = ""
    78    boolean isActive = true
    89
     
    1516    static constraints = {
    1617        name(maxSize:50, unique:true, blank:false)
    17         description(maxSize:100)
     18        description(maxSize:75)
     19        comment(maxSize:500)
    1820        isActive()
    1921        section()
Note: See TracChangeset for help on using the changeset viewer.