package org.jeecg.modules.mdc.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* @Description: 故障率表
|
* @Author: Lius
|
* @Date: 2025-06-16
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mdc_equipment_fault_info")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "mdc_equipment_fault_info对象", description = "故障率表")
|
public class MdcEquipmentFaultInfo implements Serializable {
|
|
private static final long serialVersionUID = 7825739575204258911L;
|
|
/**
|
* 主键
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "主键")
|
private String id;
|
/**
|
* 设备id
|
*/
|
@Excel(name = "设备id", width = 15)
|
@ApiModelProperty(value = "设备id")
|
private String equipmentId;
|
/**
|
* 故障时长
|
*/
|
@Excel(name = "故障时长", width = 15)
|
@ApiModelProperty(value = "故障时长")
|
private Integer faultLong = 0;
|
/**
|
* 故障率
|
*/
|
@Excel(name = "故障率", width = 15)
|
@ApiModelProperty(value = "故障率")
|
private BigDecimal faultRate = BigDecimal.ZERO;
|
/**
|
* 去除故障时间的运行时间
|
*/
|
@Excel(name = "去除故障时间的运行时间", width = 15)
|
@ApiModelProperty(value = "去除故障时间的运行时间")
|
private Integer removeFaultRunLong = 0;
|
/**
|
* 去除故障时间利用率
|
*/
|
@Excel(name = "去除故障时间利用率", width = 15)
|
@ApiModelProperty(value = "去除故障时间利用率")
|
private BigDecimal removeFaultRate = BigDecimal.ZERO;
|
/**
|
* 有效日期
|
*/
|
@Excel(name = "有效日期", width = 15)
|
@ApiModelProperty(value = "有效日期")
|
private String theDate;
|
/**
|
* 创建时间
|
*/
|
@ApiModelProperty(value = "创建时间")
|
private Date createTime;
|
|
public MdcEquipmentFaultInfo() {
|
}
|
|
public MdcEquipmentFaultInfo(String equipmentId, String theDate) {
|
this.equipmentId = equipmentId;
|
this.theDate = theDate;
|
}
|
}
|