package cn.iocoder.yudao.module.erp.controller.admin.presale.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - ERP 预定任务 Response VO")
|
@Data
|
public class ErpPresaleTaskRespVO {
|
|
@Schema(description = "编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "预定任务编号", example = "YD20261030001")
|
private String code;
|
|
@Schema(description = "客户编号", example = "1024")
|
private Long customerId;
|
|
@Schema(description = "客户名称", example = "滦南诚发五金")
|
private String customerName;
|
|
@Schema(description = "商品编号", example = "2048")
|
private Long itemId;
|
|
@Schema(description = "商品编码", example = "WL001")
|
private String itemCode;
|
|
@Schema(description = "商品名称", example = "棘轮扳手")
|
private String itemName;
|
|
@Schema(description = "预定数量", example = "100")
|
private BigDecimal quantity;
|
|
@Schema(description = "已向供货商下单数量合计", example = "60")
|
private BigDecimal purchaseQuantity;
|
|
@Schema(description = "未下单数量(预定数量 - 已下单数量)", example = "40")
|
private BigDecimal remainQuantity;
|
|
@Schema(description = "要求交货日期", example = "2026-11-30")
|
private LocalDate deliveryDate;
|
|
@Schema(description = "状态:1 待备货 2 备货中 3 已完成 4 已取消", example = "1")
|
private Integer status;
|
|
@Schema(description = "完成度:已下单数量 / 预定数量,百分比", example = "60")
|
private BigDecimal finishPercent;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|