2026-07-02 fce7a8df22ab7b5b0be0fb5151c40abbfbab6be8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package cn.iocoder.yudao.module.crm.service.followup.bo;
 
import cn.iocoder.yudao.module.crm.dal.dataobject.business.CrmBusinessDO;
import cn.iocoder.yudao.module.crm.dal.dataobject.contact.CrmContactDO;
import cn.iocoder.yudao.module.crm.enums.DictTypeConstants;
import cn.iocoder.yudao.module.crm.enums.common.CrmBizTypeEnum;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.util.List;
 
/**
 * 跟进信息 Create Req BO
 *
 * @author HUIHUI
 */
@Data
public class CrmFollowUpCreateReqBO {
 
    /**
     * 数据类型
     *
     * 枚举 {@link CrmBizTypeEnum}
     */
    @NotNull(message = "数据类型不能为空")
    private Integer bizType;
    /**
     * 数据编号
     *
     * 关联 {@link CrmBizTypeEnum} 对应模块 DO 的 id 字段
     */
    @NotNull(message = "数据编号不能为空")
    private Long bizId;
 
    /**
     * 跟进类型
     *
     * 关联 {@link DictTypeConstants#CRM_FOLLOW_UP_TYPE} 字典
     */
    @NotNull(message = "跟进类型不能为空")
    private Integer type;
    /**
     * 跟进内容
     */
    @NotEmpty(message = "跟进内容不能为空")
    private String content;
    /**
     * 下次联系时间
     */
    @NotNull(message = "下次联系时间不能为空")
    private LocalDateTime nextTime;
 
    /**
     * 图片
     */
    private List<String> picUrls;
    /**
     * 附件
     */
    private List<String> fileUrls;
 
    /**
     * 关联的商机编号数组
     *
     * 关联 {@link CrmBusinessDO#getId()}
     */
    private List<Long> businessIds;
 
    /**
     * 关联的联系人编号数组
     *
     * 关联 {@link CrmContactDO#getId()}
     */
    private List<Long> contactIds;
 
}