Roster.groovy
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:1k
- class Roster {
- Staff rosRequestman // 申请人
- Date rosFrom // 值勤时间从
- Date rosTo // 值勤时间到
- String rosState = '0' // 值勤状态 0是待审核 1是被批准 2是被打回
- String rosPlace //值勤房间
- Staff rosPermitman //批核人
- String rosMemo //备注
- String rosDel
- Date rosCreatetime
- String rosCreater
- Date rosLastchange
- String rosLastchanger
- static constraints = {
- rosRequestman(blank:false)
- rosFrom(blank:false)
- rosTo(blank:false)
-
- rosState(maxSize:12,nullable:true)
- rosPlace(maxSize:25,blank:false)
- rosPermitman(nullable:true)
- rosMemo(maxSize:1000,nullable:true)
- rosCreatetime(blank:false)
- rosCreater(maxSize:12,maxSize:12,blank:false)
- rosLastchange(blank:false)
- rosLastchanger(maxSize:12,maxSize:12,blank:false)
- }
- }