调整,添加故障查询功能
All checks were successful
local-test分支构建docker并发布运行 / Docker-Build (push) Successful in 1m12s

This commit is contained in:
tiger_zhou 2024-11-07 09:37:52 +08:00
parent fda0e3ff79
commit eb06bcf1c9

View File

@ -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;
/**
* <p>
*
* </p>
*
* @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";
}