package cn.iocoder.yudao.module.pms.controller.admin.maintain.material.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 工单物料 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotMaintainMaterialRespVO {

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

    @Schema(description = "物料编码")
    @ExcelProperty("物料编码")
    private String code;

    @Schema(description = "物料名称", example = "张三")
    @ExcelProperty("物料名称")
    private String name;

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

    @Schema(description = "单价", example = "28614")
    @ExcelProperty("单价")
    private BigDecimal price;

    @Schema(description = "物料来源", example = "2")
    @ExcelProperty("物料来源")
    private String sourceType;

    @Schema(description = "消耗数量", example = "30700")
    @ExcelProperty("消耗数量")
    private BigDecimal depleteCount;

    @Schema(description = "总库存数量", example = "5934")
    @ExcelProperty("总库存数量")
    private BigDecimal totalCount;

    @Schema(description = "SAP系统中的物料唯一编号")
    @ExcelProperty("SAP系统中的物料唯一编号")
    private String sapCode;

    @Schema(description = "状态 0启用  1停用", example = "2")
    @ExcelProperty("状态 0启用  1停用")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

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

}
