// ========================================================================== // This is auto-generated by gf cli tool. Fill this file as you wish. // ========================================================================== package plat import ( "dashoo.cn/micro/app/model/plat/internal" "dashoo.cn/opms_libary/request" ) // PlatFollowupComment is the golang structure for table plat_followup_comment. type PlatFollowupComment internal.PlatFollowupComment // Fill with you ideas below. // 查询 type SearchPlatFollowupCommentReq struct { FollowId string `json:"followId"` Pid string `json:"pid"` request.PageReq } // 获取本人需要回复的评论列表请求参数 type SearchNeedReplyCommentsReq struct { request.PageReq } // 添加数据 type AddPlatFollowupCommentReq struct { FollowId string `orm:"follow_id" json:"followId" v:"required#关联跟进不能为空"` // 关联跟进 Content string `orm:"content" json:"content"` // 评论内容 Pid int `orm:"pid" json:"pid"` // 回复对象ID Remark string `orm:"remark" json:"remark"` // 备注 } type FollowupCommentEx struct { PlatFollowupComment ReplyComments []*FollowupCommentEx `json:"replyComments"` } type FollowupCommentEx2 struct { PlatFollowupComment TargetType string `orm:"target_type" json:"targetType" v:"required#跟进对象类型不能为空"` // 跟进对象类型(10客户,20项目,30合同,40回款) TargetName string `orm:"target_name" json:"targetName" v:"required#跟进对象不能为空"` // 跟进对象 ReplyComments []*FollowupCommentEx2 `json:"replyComments"` }