Contract.groovy
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:1k
- class Contract {
- Staff conMan
- String conId // 合同编号
- Date conStarttime //合同起始时间
- Date conEndtime //合同到期时间
- Code conType //合同类型
- Date conSigntime //合同签定时间
- Date conStoptime //合同终止时间
- byte[] conContrat //合同
- //状态
- String conMemo //备注
- String conDel
- Date conCreatetime
- String conCreater
- Date conLastchange
- String conLastchanger
- static constraints = {
- conMan(blank: false)
- conId(maxSize:12,blank:false,unique:true)
- conStarttime(blank:false)
- conEndtime(blank:false)
- conType(nullable:true)
- conSigntime(blank:false)
- conStoptime(nullable:true)
- conContrat(maxSize:200000,nullable:true) //2mb
- conMemo(maxSize:1000,nullable:true)
- conDel(maxSize:2,blank:false)
- conCreatetime(blank:false)
- conCreater(maxSize:12,blank:false)
- conLastchange(blank:false)
- conLastchanger(maxSize:12,blank:false)
- }
- }