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

PlugIns编程

开发平台:

Java

  1. class Ckind {
  2.     static hasMany = [codes:Code]
  3.     String  ckiName
  4.     String  ckiFlag
  5.     String  ckiState
  6.     String  ckimemo
  7.     String toString() {
  8.         "${this.ckiName}"
  9.     }
  10.     static constraints = {
  11.         ckiName(maxSize:20,blank:false,unique:true)
  12.         ckiFlag(maxSize:20,blank:false,unique:true)
  13.         ckiState(maxSize:20,nullable:true)
  14.         ckimemo(maxSize:500,nullable:true)
  15.     }
  16. }