cust_customer_contact.go 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package cust
  5. import (
  6. "dashoo.cn/micro/app/model/cust/internal"
  7. )
  8. // CustCustomerContact is the golang structure for table cust_customer_contact.
  9. type CustCustomerContact internal.CustCustomerContact
  10. // Fill with you ideas below.
  11. //添加联系人参数
  12. type CustCustomerContactSeq struct {
  13. CustId int ` json:"custId" v:"required#客户ID不能为空" ` // 关联客户
  14. CuctName string ` json:"cuctName" v:"required#联系人名字不能为空"` // 姓名
  15. CuctGender string ` json:"cuctGender"` // 性别(10男20女)
  16. Postion string ` json:"postion"` // 职位
  17. Telephone string ` json:"telephone" v:"required|phone#手机号不能为空|手机号格式错误"` // 电话
  18. Wechat string ` json:"wechat"` // 微信
  19. Email string ` json:"email" v:"email#邮箱格式错误"` // 邮箱
  20. Remark string ` json:"remark"` // 备注
  21. Policy int ` json:"policy"` //
  22. }
  23. //修改联系人
  24. type UpdateCustCustomerContactSeq struct {
  25. Id int ` json:"id" v:"required#ID不能为空" `
  26. *CustCustomerContact
  27. }