Customer.groovy
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:2k
- class Customer {
- String cusId // 客户编号 *
- String cusName // 客户姓名 *
- String cusEname // 客户英文名
- String cusCompany // 客户所属公司
- Code cusSex // 客户性别
- Date cusBirth // 客户生日
- String cusCard // 客户生份证
- byte[] cusImage // 客户照片
- String cusTel1 // 联系电话 *
- String cusTel2 // 备用电话
- String cusLinkman // 紧急联系人
- String cusLinktel // 紧急联系人电话
- String cusEmail // 邮箱
- Code cusClan // 名族
- String cusNative // 籍贯
- String cusAddress // 联系地址
- Code cusEducation // 学历
- Code cusProfession // 职业
- Code cusWorkstate // 在职状态
- String cusSchool // 毕业院校
- Code cusHealth // 健康状况
- Code cusType // 客户类别
- String cusServer // 本公司受理人
- String cusLikegoods // 喜欢本公司的产品
- String cusMemo // 备注
- String cusDel // 删除状态
- Date cusCreatetime //
- String cusCreater //
- Date cusLastchange //
- String cusLastchanger //
- static constraints = {
- cusId(maxSize: 12, unique: true)
- cusName(maxSize: 10, blank: false)
- cusEname(maxSize: 20,nullable:true)
- cusCompany(maxSize: 50, blank: false,nullable:true)
- cusSex(blank: false)
- cusBirth(nullable:true)
- cusCard(maxSize: 20, unique: true,nullable:true)
- cusImage(maxSize: 100000,nullable:true)
- cusTel1(maxSize: 20, blank: false)
- cusTel2(maxSize: 20,nullable:true)
- cusLinkman(maxSize: 10,nullable:true)
- cusLinktel(maxSize: 20,nullable:true)
- cusEmail(maxSize: 20,nullable:true)
- cusClan(nullable:true)
- cusNative(maxSize:20,nullable:true)
- cusAddress(maxSize:50,nullable:true)
- cusEducation(nullable:true)
- cusProfession(nullable:true)
- cusWorkstate(nullable:true)
- cusSchool(maxSize:25,nullable:true)
- cusHealth(nullable:true)
- cusType(nullable:true)
- cusServer(maxSize:20,nullable:true)
- cusLikegoods(maxSize:200,nullable:true)
- cusMemo(maxSize: 500,nullable:true)
- cusDel(maxSize:2)
- cusCreatetime(blank:false)
- cusCreater(maxSize:12,maxSize:12,blank:false)
- cusLastchange(blank:false)
- cusLastchanger(maxSize:12,maxSize:12,blank:false)
- }
- }