|
|
@@ -35,23 +35,24 @@ type SearchPlatFollowupReq struct {
|
|
|
|
|
|
// 添加数据
|
|
|
type AddPlatFollowupReq struct {
|
|
|
- FollowType string `orm:"follow_type" json:"followType" v:"required#跟进类型不能为空"` // 跟进类型(10电话20邮件30拜访)
|
|
|
- FollowDate *gtime.Time `orm:"follow_date" json:"followDate" v:"required#跟进时间不能为空"` // 跟进时间
|
|
|
- FollowContent string `orm:"follow_content" json:"followContent" v:"required#跟进内容不能为空"` // 跟进内容
|
|
|
- FurtherPlan string `orm:"further_plan" json:"furtherPlan" v:"required#下一步跟进计划和目标不能为空"` // 下一步跟进计划和目标
|
|
|
- Effect string `orm:"effect" json:"effect" v:"required#达成效果不能为空"` // 达成效果
|
|
|
- Issue string `orm:"issue" json:"issue" v:"required#问题或困难不能为空"` // 问题或困难
|
|
|
+ FollowType string `orm:"follow_type" json:"followType" v:"required#跟进类型不能为空"` // 跟进类型(10电话20邮件30拜访)
|
|
|
+ FollowDate *gtime.Time `orm:"follow_date" json:"followDate" v:"required#跟进时间不能为空"` // 跟进时间
|
|
|
+ FollowContent string `orm:"follow_content" json:"followContent" v:"required#跟进内容不能为空"` // 跟进内容
|
|
|
+ FurtherPlan string `orm:"further_plan" json:"furtherPlan" v:"required#下一步跟进计划和目标不能为空"` // 下一步跟进计划和目标
|
|
|
+ Effect string `orm:"effect" json:"effect" v:"required#达成效果不能为空"` // 达成效果
|
|
|
+ Issue string `orm:"issue" json:"issue" v:"required#问题或困难不能为空"` // 问题或困难
|
|
|
TargetId int `orm:"target_id" json:"targetId" v:"required|min:1#跟进对象ID不能为空|跟进对象ID不能为空"` // 跟进对象ID
|
|
|
- TargetType string `orm:"target_type" json:"targetType" v:"required#跟进对象类型不能为空"` // 跟进对象类型(10客户,20项目,30合同,40回款)
|
|
|
- TargetName string `orm:"target_name" json:"targetName" v:"required#跟进对象不能为空"` // 跟进对象
|
|
|
- CustId int `orm:"cust_id" json:"custId"` // 关联客户
|
|
|
- CustName string `orm:"cust_name" json:"custName"` // 客户名称
|
|
|
- ContactsId int `orm:"contacts_id" json:"contactsId"` // 关联联系人
|
|
|
- ContactsName string `orm:"contacts_name" json:"contactsName"` // 联系人姓名
|
|
|
- Reminders string `orm:"reminders" json:"reminders"` // 提醒对象
|
|
|
- NextTime *gtime.Time `orm:"next_time" json:"nextTime"` // 下次联系时间
|
|
|
- Remark string `orm:"remark" json:"remark"` // 备注
|
|
|
- Files []*AddPlatFollowupFileReq `json:"files"` // 附件
|
|
|
+ TargetType string `orm:"target_type" json:"targetType" v:"required#跟进对象类型不能为空"` // 跟进对象类型(10客户,20项目,30合同,40回款)
|
|
|
+ TargetName string `orm:"target_name" json:"targetName" v:"required#跟进对象不能为空"` // 跟进对象
|
|
|
+ CustId int `orm:"cust_id" json:"custId"` // 关联客户
|
|
|
+ CustName string `orm:"cust_name" json:"custName"` // 客户名称
|
|
|
+ ContactType string `orm:"contact_type" json:"contactType"` // 联系人类型(10客户 20 渠道)
|
|
|
+ ContactsId int `orm:"contacts_id" json:"contactsId"` // 关联联系人
|
|
|
+ ContactsName string `orm:"contacts_name" json:"contactsName"` // 联系人姓名
|
|
|
+ Reminders string `orm:"reminders" json:"reminders"` // 提醒对象
|
|
|
+ NextTime *gtime.Time `orm:"next_time" json:"nextTime"` // 下次联系时间
|
|
|
+ Remark string `orm:"remark" json:"remark"` // 备注
|
|
|
+ Files []*AddPlatFollowupFileReq `json:"files"` // 附件
|
|
|
//FollowContentType string `orm:"follow_content_type" json:"followContentType" v:"required#跟进内容类型不能为空"` // 跟进内容类型
|
|
|
//SupportName string `orm:"support_name" json:"supportName"` // 总部支持人员
|
|
|
}
|