package com.iailab.module.device.dto; import com.iailab.framework.excel.core.annotations.DictFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; /** * 设备故障库; * * @author lirm ${email} * @since 1.0.0 2024-05-23 */ @Data @Schema(name = "设备故障库") public class DeviceFaultDTO implements Serializable { private static final long serialVersionUID = 1L; @Schema(name = "id") private Integer id; @Schema(name = "设备代码") private String classNo; @Schema(name = "设备类型") private String className; @Schema(name = "指标类型") @DictFormat("health_index_type") private String indexType; @Schema(name = "故障类型") @DictFormat("health_fault_type") private String faultType; @Schema(name = "故障码") private String faultCode; @Schema(name = "处理对策") private String solution; @Schema(name = "排序") private Integer sort; @Schema(name = "故障名称") private String faultName; }