云
4 天以前 f02d0df2f1dfc7a8b775cf50d45375e57628a5ef
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
package cn.iocoder.yudao.module.crm.controller.admin.customer.vo.progress;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - CRM 客户洽谈进度新增/修改 Request VO")
@Data
public class CrmCustomerProgressSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "客户编号不能为空")
    private Long customerId;
 
    @Schema(description = "洽谈进度内容", requiredMode = Schema.RequiredMode.REQUIRED,
            example = "客户确认报价,等待内部审批")
    @NotBlank(message = "洽谈进度内容不能为空")
    @Size(max = 1000, message = "洽谈进度内容长度不能超过 1000 个字符")
    private String content;
 
    @Schema(description = "洽谈时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "洽谈时间不能为空")
    private LocalDateTime progressTime;
 
}