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; }