package cn.iocoder.yudao.module.mes.controller.admin.stockworkshop.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.time.LocalDateTime;

@Schema(description = "管理后台 - 车间仓库存 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StockWorkshopRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20864")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "原料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25972")
    private Long itemId;
    @Schema(description = "原料", requiredMode = Schema.RequiredMode.REQUIRED, example = "25972")
    @ExcelProperty("原料")
    private String itemName;

    @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "30971")
    @ExcelProperty("库存数量")
    private BigDecimal count;

    @Schema(description = "单位ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24261")
    private Long unitId;
    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "个")
    @ExcelProperty("单位")
    private String unitName;

    @Schema(description = "分类", example = "2548")
    private Long categoryId;
    @Schema(description = "分类", example = "2548")
    @ExcelProperty("分类")
    private String categoryName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}