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

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

import java.math.BigDecimal;

@Schema(description = "管理后台 - PMS 保养计划明细设备BOM挂载物料关联新增/修改 Request VO")
@Data
public class IotMainPlanBomMaterialSaveReqVO {

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

    @Schema(description = "保养计划id", example = "25103")
    private Long mainPlanId;

    @Schema(description = "保养计划明细id", example = "32706")
    private Long mainPlanDetailId;

    @Schema(description = "所属设备分类", example = "24380")
    private Long deviceCategoryId;

    @Schema(description = "保养计划明细设备BOM节点id", example = "25557")
    private Long bomNodeId;

    @Schema(description = "设备分类公共BOM节点名称", example = "李四")
    private String name;

    @Schema(description = "设备分类公共BOM节点编码")
    private String code;

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

    @Schema(description = "数量")
    private BigDecimal quantity;

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

    @Schema(description = "公里数周期(千米)")
    private BigDecimal kilometerCycle;

    @Schema(description = "公里数周期-提前量(千米)")
    private BigDecimal kiloCycleLead;

    @Schema(description = "时间周期(小时)")
    private BigDecimal timePeriod;

    @Schema(description = "时间周期-提前量(小时)")
    private BigDecimal timePeriodLead;

    @Schema(description = "自然日周期(天)")
    private BigDecimal naturalDatePeriod;

    @Schema(description = "自然日周期-提前量(天)")
    private BigDecimal naturalDatePeriodLead;

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

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

    @Schema(description = "备注", example = "随便")
    private String remark;

}