package com.yc.ship.module.trade.controller.admin.report.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 航次库存看板 Response VO
 */
@Schema(description = "管理后台 - 航次库存看板 Response VO")
@Data
@ExcelIgnoreUnannotated
public class VoyageStockBoardRespVO {

    @Schema(description = "航次名称", example = "4月18下水")
    private String voyageName;

    @Schema(description = "该航次总库存", example = "259")
    @ExcelProperty("该航次总库存")
    private BigDecimal totalStock;

    @Schema(description = "该航次已售库存", example = "72.5")
    @ExcelProperty("该航次已售库存")
    private BigDecimal soldStock;

    @Schema(description = "该航次剩余库存", example = "149.5")
    @ExcelProperty("该航次剩余库存")
    private BigDecimal remainingStock;

    @Schema(description = "明细列表")
    private List<VoyageStockBoardItemVO> detailList;

}
