Changeset 373 for trunk/grails-app


Ignore:
Timestamp:
Feb 18, 2010, 12:54:55 AM (15 years ago)
Author:
gav
Message:

Fix miss spelt constraints in domain classes.

Location:
trunk/grails-app/domain
Files:
8 edited

Legend:

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

    r146 r373  
    66    static hasMany = [entries: Entry]
    77
    8     static contstraints = {
     8    static constraints = {
    99        name(maxSize:50,unique:true,blank:false)
    1010        description(maxSize:100)
  • trunk/grails-app/domain/InventoryMovementType.groovy

    r177 r373  
    77    static hasMany = [inventoryMovements: InventoryMovement]
    88
    9     static contstraints = {
     9    static constraints = {
    1010        name(maxSize:50,unique:true,blank:false)
    1111        description(maxSize:100)
  • trunk/grails-app/domain/InventoryType.groovy

    r116 r373  
    55
    66    static hasMany = [inventoryItems: InventoryItem]
    7    
    8     static contstraints = {
     7
     8    static constraints = {
    99        name(maxSize:50,unique:true,blank:false)
    1010        description(maxSize:100)
  • trunk/grails-app/domain/Manufacturer.groovy

    r116 r373  
    88
    99    static belongsTo = [InventoryItem]
    10    
    11     static contstraints = {
     10
     11    static constraints = {
    1212        name(maxSize:50,unique:true,blank:false)
    1313        description(maxSize:100)
  • trunk/grails-app/domain/ManufacturerType.groovy

    r116 r373  
    55
    66    static hasMany = [manufacturers: Manufacturer]
    7    
    8     static contstraints = {
     7
     8    static constraints = {
    99        name(maxSize:50,unique:true,blank:false)
    1010        description(maxSize:100)
  • trunk/grails-app/domain/Supplier.groovy

    r116 r373  
    66
    77    static hasMany = [inventoryItems: InventoryItem]
    8    
     8
    99    static belongsTo = [InventoryItem]
    1010
    11     static contstraints = {
     11    static constraints = {
    1212        name(maxSize:50,unique:true,blank:false)
    1313        description(maxSize:100)
  • trunk/grails-app/domain/SupplierType.groovy

    r116 r373  
    66    static hasMany = [suppliers: Supplier]
    77   
    8     static contstraints = {
     8    static constraints = {
    99        name(maxSize:50,unique:true,blank:false)
    1010        description(maxSize:100)
  • trunk/grails-app/domain/UnitOfMeasure.groovy

    r116 r373  
    66    static hasMany = [inventoryItems: InventoryItem]
    77   
    8     static contstraints = {
     8    static constraints = {
    99        name(maxSize:50,unique:true,blank:false)
    1010        description(maxSize:100)
Note: See TracChangeset for help on using the changeset viewer.