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 javax.validation.constraints.*;
import java.math.BigDecimal;

//@Schema(description = "管理后台 - 工单物料新增/修改 Request VO")
@Data
public class IotMaintainMaterialSaveReqVO {

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

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

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

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

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

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

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

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

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

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

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

}
