- class Ckind {
- static hasMany = [codes:Code]
- String ckiName
- String ckiFlag
- String ckiState
- String ckimemo
- String toString() {
- "${this.ckiName}"
- }
- static constraints = {
- ckiName(maxSize:20,blank:false,unique:true)
- ckiFlag(maxSize:20,blank:false,unique:true)
- ckiState(maxSize:20,nullable:true)
- ckimemo(maxSize:500,nullable:true)
- }
- }