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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 物资信息 Response VO")
@Data
public class MaterialInfoRespVO {

    @Schema(description = "id", example = "1")
    private Long id;

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

    @Schema(description = "物资名称", example = "一次性手套")
    private String materialName;

    @Schema(description = "类别id", example = "10")
    private Long categoryId;

    @Schema(description = "类别名称", example = "护理用品")
    private String categoryName;

    @Schema(description = "仓库id", example = "1")
    private Long storeId;

    @Schema(description = "仓库名称", example = "主仓库")
    private String storeName;

    @Schema(description = "物资单位", example = "盒")
    private String materialUnit;

    @Schema(description = "供应商id", example = "100")
    private Long supplierId;

    @Schema(description = "供应商名称", example = "某某供应商")
    private String supplierName;

    @Schema(description = "规格", example = "L")
    private String specification;

    @Schema(description = "当前库存量", example = "100")
    private BigDecimal materialCount;

    @Schema(description = "最高库存量", example = "1000")
    private BigDecimal maxNum;

    @Schema(description = "最低库存量", example = "10")
    private BigDecimal minNum;

    @Schema(description = "保质期(月)", example = "24")
    private Integer shelfLife;

    @Schema(description = "状态，0：禁用，1：启用", example = "1")
    private Integer status;

    @Schema(description = "机构/租户id", example = "1")
    private Long tenantId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "更新人")
    private String updater;

    @Schema(description = "入库单价")
    private BigDecimal materialInPrice;
}

