package cn.iocoder.yudao.module.system.controller.admin.biz.vo.materialio.outboundreturn;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;

@Data
@Schema(description = "管理后台 - 出库退回单明细 Response VO")
public class MaterialOutboundReturnOrderItemRespVO {

    @Schema(description = "明细ID")
    private Long id;

    @Schema(description = "物资ID")
    private Long materialId;

    @Schema(description = "物资名称")
    private String materialName;

    @Schema(description = "物资编号")
    private String materialNumber;

    @Schema(description = "单位")
    private String materialUnit;

    @Schema(description = "仓库名称")
    private String storeName;
    
    @Schema(description = "退回数量")
    private BigDecimal quantity;

    @Schema(description = "关联的原入库批次ID")
    private Long inboundItemId;

    @Schema(description = "关联的原出库批次ID")
    private Long outboundItemId;

    @Schema(description = "单价 (取自原入库批次)")
    private BigDecimal inUnitPrice;

    @Schema(description = "金额")
    private BigDecimal amount;
}

