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;

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

    @Schema(description = "房型ID", example = "1")
    private Long roomModelId;

    @Schema(description = "房型名称", example = "豪华标准间")
    @ExcelProperty("房型")
    private String roomModelName;

    @Schema(description = "楼层", example = "2")
    @ExcelProperty("楼层")
    private Integer floor;

    @Schema(description = "已订间数", example = "26")
    @ExcelProperty("已订间数")
    private BigDecimal bookedNum;

    @Schema(description = "总数(已上架房间数)", example = "50")
    @ExcelProperty("总数")
    private BigDecimal totalNum;

    @Schema(description = "已订间数/总数", example = "26/50")
    @ExcelProperty("已订间数/总数")
    private String bookedRatio;

    @Schema(description = "定金锁位", example = "15")
    @ExcelProperty("定金锁位")
    private BigDecimal depositLock;

    @Schema(description = "名单锁位", example = "11")
    @ExcelProperty("名单锁位")
    private BigDecimal nameListLock;

    @Schema(description = "留位房间", example = "0")
    @ExcelProperty("留位房间")
    private BigDecimal leaveRoom;

    @Schema(description = "切位总房间", example = "0")
    @ExcelProperty("切位总房间")
    private BigDecimal cutTotal;

    @Schema(description = "切位已锁位房间数", example = "0")
    private BigDecimal cutLock;

    @Schema(description = "切位剩余房间数", example = "0")
    @ExcelProperty("切位剩余房间数")
    private BigDecimal cutRemain;

    @Schema(description = "剩余可售", example = "24")
    @ExcelProperty("剩余可售")
    private BigDecimal remainingSell;

    @Schema(description = "剩余共享", example = "0")
    @ExcelProperty("剩余共享")
    private BigDecimal remainingShare;

    @Schema(description = "同比", example = "↑ +400.0%")
    @ExcelProperty("同比")
    private String yoy;

    @Schema(description = "环比", example = "↑ +400.0%")
    @ExcelProperty("环比")
    private String mom;

    /**
     * 已上架房间数
     */
    private BigDecimal shelfedNum;

}
