Salary.groovy
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:1k
- class Salary {
- Staff salMan //员工
- double salBase //底薪
- double salPrize //奖金
- double salBonus //花红
- double withhold //扣薪
- double community //社保
- double salHard //勤工
- Date salTime //发薪时间
- String salMemo //备注
- String salPass //收薪签名密码
- String salDel
- Date salCreatetime //
- String salCreater //发薪人
- Date salLastchange
- String salLastchanger
- static constraints = {
- salMan(blank: false)
- salBase(blank: false)
- salPrize(nullable:true)
- salBonus(nullable:true)
- withhold(nullable:true)
- community(nullable:true)
- salHard(nullable:true)
- salTime(nullable:true)
- salMemo(maxSize: 200,nullable:true)
- salCreatetime(blank:false)
- salCreater(maxSize:12, blank:false)
- salLastchange(blank:false)
- salLastchanger(maxSize:12, blank:false)
- }
- }