package cn.iocoder.yudao.module.pms.controller.admin.iotmaterialrequisitiondetail.vo;

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

import java.math.BigDecimal;

@Schema(description = "管理后台 - PMS 物料领用明细新增/修改 Request VO")
@Data
public class IotMaterialRequisitionDetailSaveReqVO {

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

    @Schema(description = "物料领用单id", example = "19409")
    private Long requisitionId;

    @Schema(description = "工厂id", example = "19409")
    private Long factoryId;

    @Schema(description = "costCenterId", example = "19409")
    private Long costCenterId;

    @Schema(description = "物料id", example = "16249")
    private Long materialId;

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

    @Schema(description = "物料名称", example = "王五")
    private String materialName;

    @Schema(description = "领用数量")
    private BigDecimal requisitionQuantity;

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

    @Schema(description = "单价(元)", example = "16087")
    private BigDecimal unitPrice;

    @Schema(description = "总金额(元)", example = "26026")
    private BigDecimal totalPrice;

    @Schema(description = "规格型号")
    private String specification;

    @Schema(description = "排序")
    private Integer sort;

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

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}