package cn.iocoder.yudao.module.crm.controller.admin.receivable.vo.plan;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import jakarta.validation.constraints.NotNull;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - CRM 回款计划新增/修改 Request VO")
|
@Data
|
public class CrmReceivablePlanSaveReqVO {
|
|
@Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
private Long id;
|
|
@Schema(description = "客户编号", hidden = true, example = "2")
|
private Long customerId; // 该字段不通过前端传递,而是 contractId 查询出来设置进去
|
|
@Schema(description = "合同编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
@NotNull(message = "合同编号不能为空")
|
private Long contractId;
|
|
@Schema(description = "负责人编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
|
@NotNull(message = "负责人编号不能为空")
|
private Long ownerUserId;
|
|
@Schema(description = "计划回款日期", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024-02-02")
|
@NotNull(message = "计划回款日期不能为空")
|
private LocalDateTime returnTime;
|
|
@Schema(description = "回款方式", example = "1")
|
private Integer returnType;
|
|
@Schema(description = "计划回款金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "9000")
|
@NotNull(message = "计划回款金额不能为空")
|
private BigDecimal price;
|
|
@Schema(description = "提前几天提醒", example = "1")
|
private Integer remindDays;
|
|
@Schema(description = "备注", example = "备注")
|
private String remark;
|
|
@Schema(description = "收款阶段:1合同款 2预付款 3到货款 4验收款 5质保金", example = "2")
|
private Integer stage;
|
|
@Schema(description = "来源开票单编号", example = "1024")
|
private Long invoiceId;
|
|
@Schema(description = "来源销售订单编号", example = "1024")
|
private Long saleOrderId;
|
|
@Schema(description = "实际回款时间")
|
private LocalDateTime actualTime;
|
|
@Schema(description = "已回款金额", example = "0")
|
private BigDecimal receiptedPrice;
|
|
@Schema(description = "状态:0未回款 10部分回款 20已回清", example = "0")
|
private Integer status;
|
|
}
|