Code.groovy
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:0k
源码类别:

PlugIns编程

开发平台:

Java

  1. class Code {
  2.     String codName
  3.     String codValue1
  4.     String codValue2
  5.     String codValue3
  6.     String codValue4
  7.     static belongsTo = [ckind: Ckind]
  8.     String toString() {
  9.         "${this.codName}"
  10.     }
  11.     static constraints = {
  12.         codName(maxSize:20,blank:false)
  13.         codValue1(maxSize:40,nullable:true)
  14.         codValue2(maxSize:2000,nullable:true)
  15.         codValue3(maxSize:40,nullable:true)
  16.         codValue4(maxSize:40,nullable:true)
  17.     }
  18. }