|
|
@@ -20,10 +20,10 @@ type CustCustomerContactSeq struct {
|
|
|
CustId int `p:"custId" json:"custId" v:"required#客户ID不能为空" ` // 关联客户
|
|
|
CuctName string `p:"cuctName" json:"cuctName" v:"required#联系人名字不能为空"` // 姓名
|
|
|
CuctGender string `p:"cuctGender" json:"cuctGender" v:"required|in:10,20#性别不能为空|填写错误"` // 性别(10男20女)
|
|
|
- Telephone string `p:"telephone" json:"telephone" v:"required|phone#手机号不能为空|手机号格式错误"` // 电话
|
|
|
- Wechat string `p:"wechat" json:"wechat" v:"required#微信不能为空"` // 微信
|
|
|
+ Telephone string `p:"telephone" json:"telephone" v:"phone#手机号格式错误"` // 电话
|
|
|
+ Wechat string `p:"wechat" json:"wechat"` // 微信
|
|
|
Email string `p:"email" json:"email" v:"email#邮箱格式错误"` // 邮箱
|
|
|
- Dept string `p:"dept" json:"dept" v:"required#部门不能为空"` // 部门
|
|
|
+ Dept string `p:"dept" json:"dept"` // 部门
|
|
|
Postion string `p:"postion" json:"postion" v:"required#岗位不能为空" ` // 职位
|
|
|
OfficeLocation string `p:"officeLocation" json:"officeLocation"` // 办公地点
|
|
|
IsDecision string `p:"isDecision" json:"isDecision" v:"required|in:10,20#是否关键决策人不能为空|填写错误"` // 关键决策人(10是20否)
|