Inovice.groovy
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:2k
- class Inovice {
- String inoId //发票编号
- String inoBuyname //购方姓名
- String inoBuycompany = '' //购方公司
- String inoBuytel //购方电话
- String inoBuyaddress //购方地址
- String inoCargoid //货物号
- String inoCargoname // 货物名称
- String inoCargostandard // 货物规格
- String inoCargounit //货物单位
- int inoCargonumber //货物数量
- Double inoCargoprice //货物单价
- String inoSellman //开票人
- String inoSellcompany //销方公司
- String inoSelltel //销方电话
- String inoSellAddress//销方地址
- Double inoRate //税率
- Double inoRatebefore//税前金额
- Double inoRateafte //税后金额
- String inoMemo //备注
- String inoDel
- Date inoCreatetime
- String inoCreater
- Date inoLastchange
- String inoLastchanger
- static constraints = {
- inoId (maxSize:16,blank:false,unique:true)
- inoBuyname (maxSize:10,blank:false)
- inoBuycompany (maxSize:25,nullable:false)
- inoBuytel (maxSize:20,blank:false)
- inoBuyaddress (maxSize:50,nullable:true)
- inoCargoid (maxSize:16,blank:false,unique:true)
- inoCargoname (maxSize:20,blank:false)
- inoCargostandard (maxSize:20,nullable:true)
- inoCargounit (maxSize:20,nullable:true)
- inoCargonumber (blank:false)
- inoCargoprice (blank:false)
- inoSellman (maxSize:10,blank:false)
- inoSellcompany (maxSize:25,nullable:true)
- inoSelltel (maxSize:20,blank:false)
- inoSellAddress (maxSize:50,blank:false)
- inoRate (blank:false)
- inoRatebefore (blank:false)
- inoRateafte (blank:false)
- inoMemo (maxSize:500,nullable:true)
- inoCreatetime (blank:false)
- inoCreater (maxSize:12,blank:false)
- inoLastchange (blank:false)
- inoLastchanger (maxSize:12,blank:false)
- }
- }