package cn.iocoder.yudao.module.erp.api.purchase.dto; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; @Schema(description = "RPC 服务 - ERP 采购订单明细 Response DTO") @Data public class ErpPurchaseOrderItemRespDTO { @Schema(description = "明细编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") private Long id; @Schema(description = "采购订单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") private Long orderId; @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") private Long productId; @Schema(description = "产品单位编号", example = "1") private Long productUnitId; @Schema(description = "产品单价,单位:元", example = "100.00") private BigDecimal productPrice; @Schema(description = "订购数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") private BigDecimal count; @Schema(description = "已入库数量", example = "5") private BigDecimal inCount; @Schema(description = "已退货数量", example = "0") private BigDecimal returnCount; @Schema(description = "备注", example = "备注信息") private String remark; }