diff --git a/src/main/java/club/joylink/xiannccda/entity/FaultQuery.java b/src/main/java/club/joylink/xiannccda/entity/FaultQuery.java new file mode 100644 index 0000000..dcf2556 --- /dev/null +++ b/src/main/java/club/joylink/xiannccda/entity/FaultQuery.java @@ -0,0 +1,55 @@ +package club.joylink.xiannccda.entity; + +import club.joylink.xiannccda.constants.common.FaultQueryType; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Getter; +import lombok.Setter; +import lombok.experimental.Accessors; + +/** + *
+ * + *
+ * + * @author walker-sheng + * @since 2024-11-06 + */ +@Getter +@Setter +@Accessors(chain = true) +@TableName("fault_query") +@Schema(name = "FaultQuery", description = "$!{table.comment}") +public class FaultQuery { + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + private Integer lineId; + + @Schema(description = "故障类型") + private FaultQueryType faultType; + + @Schema(description = "“关键指导” --故障现象 ”退出服务地点”--故障名称/故障类型") + private String faultNameShower; + + @Schema(description = "“关键指导”显示“司机处理结果”和“行调提醒司机关键点”; “退出服务”显示”故障现象和”退出服务地点”") + private String faultDriverShower; + + @Schema(description = "司机处理结果") + private String resultMsg; + + public static final String ID = "id"; + + public static final String LINE_ID = "line_id"; + + public static final String FAULT_TYPE = "fault_type"; + + public static final String FAULT_NAME_SHOWER = "fault_name_shower"; + + public static final String FAULT_DRIVER_SHOWER = "fault_driver_shower"; + + public static final String RESULT_MSG = "result_msg"; +}