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