package cn.iocoder.yudao.module.purchase.controller.admin.order.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
@Schema(description = "管理后台 - 采购商品明细 Response VO")
|
@Data
|
public class PurchaseOrderItemRespVO {
|
|
@Schema(description = "编号", example = "1")
|
private Long id;
|
|
@Schema(description = "采购单 ID", example = "1")
|
private Long orderId;
|
|
@Schema(description = "商品名称", example = "A4 复印纸")
|
private String itemName;
|
|
@Schema(description = "规格型号", example = "70g / 500张")
|
private String spec;
|
|
@Schema(description = "数量", example = "10")
|
private BigDecimal quantity;
|
|
@Schema(description = "单价(元)", example = "25.00")
|
private BigDecimal unitPrice;
|
|
@Schema(description = "金额(元)", example = "250.00")
|
private BigDecimal amount;
|
|
@Schema(description = "排序号", example = "1")
|
private Integer sortNo;
|
|
}
|