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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - PMS 保养计划明细设备BOM挂载物料关联 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotMainPlanBomMaterialRespVO {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}