新疆aed迁移
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
package com.renkang.emergency.bean.response;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @author stan
|
||||
* @since 2025-08-27
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class SrcInfo {
|
||||
private String url;
|
||||
private String accessToken;
|
||||
private String appendBaseUrl;
|
||||
}
|
||||
+435
@@ -0,0 +1,435 @@
|
||||
package com.renkang.emergency.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
import org.jeecg.common.aspect.annotation.Dict;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: aed_equipment_manger
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2024-01-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("aed_equipment_manger")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "aed_equipment_manger对象", description = "aed_equipment_manger")
|
||||
public class AedEquipmentManger implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(title = "主键")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long id;
|
||||
/**
|
||||
* 资源名称
|
||||
*/
|
||||
@Excel(name = "资源名称", width = 15)
|
||||
@Schema(title = "资源名称")
|
||||
private String name;
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@Excel(name = "经度", width = 15)
|
||||
@Schema(title = "经度")
|
||||
private BigDecimal longitude;
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@Excel(name = "纬度", width = 15)
|
||||
@Schema(title = "纬度")
|
||||
private BigDecimal latitude;
|
||||
/**
|
||||
* 部门编码
|
||||
*/
|
||||
@Excel(name = "部门编码", width = 15)
|
||||
@Schema(title = "部门编码")
|
||||
private String departCode;
|
||||
/**
|
||||
* 主机型号
|
||||
*/
|
||||
@Excel(name = "主机型号", width = 15)
|
||||
@Schema(title = "主机型号")
|
||||
private String hostModel;
|
||||
/**
|
||||
* 主机序列号
|
||||
*/
|
||||
@Excel(name = "主机序列号", width = 15)
|
||||
@Schema(title = "主机序列号")
|
||||
private String hostSerialNum;
|
||||
/**
|
||||
* 电极片有效期
|
||||
*/
|
||||
@Excel(name = "电极片有效期", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "电极片有效期")
|
||||
private Date electrodeSheetValidTime;
|
||||
/**
|
||||
* 电极片是否完好
|
||||
*/
|
||||
private String electrodeIsOk;
|
||||
/**
|
||||
* 路由器型号
|
||||
*/
|
||||
@Excel(name = "路由器型号", width = 15)
|
||||
@Schema(title = "路由器型号")
|
||||
private String routerModel;
|
||||
/**
|
||||
* 路由器序列号
|
||||
*/
|
||||
@Excel(name = "路由器序列号", width = 15)
|
||||
@Schema(title = "路由器序列号")
|
||||
private String routerSerialNum;
|
||||
/**
|
||||
* 电池型号
|
||||
*/
|
||||
@Excel(name = "电池型号", width = 15)
|
||||
@Schema(title = "电池型号")
|
||||
private String batteryModel;
|
||||
/**
|
||||
* 电池电压
|
||||
*/
|
||||
@Excel(name = "电池电压", width = 15)
|
||||
@Schema(title = "电池电压")
|
||||
private Double batteryVoltage;
|
||||
/**
|
||||
* 质保开始时间
|
||||
*/
|
||||
@Excel(name = "质保开始时间", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "质保开始时间")
|
||||
private Date warrantyStartDate;
|
||||
/**
|
||||
* 质保结束时间
|
||||
*/
|
||||
@Excel(name = "质保结束时间", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "质保结束时间")
|
||||
private Date warrantyEndDate;
|
||||
/**
|
||||
* 设备图片 多个","分隔
|
||||
*/
|
||||
@Excel(name = "设备图片 多个,分隔", width = 15)
|
||||
@Schema(title = "设备图片 多个,分隔")
|
||||
private String aedImg;
|
||||
/**
|
||||
* 制造商名称
|
||||
*/
|
||||
@Excel(name = "制造商名称",dicCode = "aed_mfrs", width = 15)
|
||||
@Schema(title = "制造商名称")
|
||||
@Dict(dicCode = "aed_mfrs")
|
||||
private String mfrsName;
|
||||
/**
|
||||
* 制造商联系电话
|
||||
*/
|
||||
@Excel(name = "制造商联系电话", width = 15)
|
||||
@Schema(title = "制造商联系电话")
|
||||
private String mfrsMobile;
|
||||
/**
|
||||
* 安装位置
|
||||
*/
|
||||
@Excel(name = "安装位置", width = 15)
|
||||
@Schema(title = "安装位置")
|
||||
private String installAddress;
|
||||
/**
|
||||
* 位置图片 多个","分隔
|
||||
*/
|
||||
@Excel(name = "位置图片 多个,分隔", width = 15)
|
||||
@Schema(title = "位置图片 多个,分隔")
|
||||
private String installAddressImg;
|
||||
/**
|
||||
* 管理人员id
|
||||
*/
|
||||
@Excel(name = "管理人员id", width = 15)
|
||||
@Schema(title = "管理人员id")
|
||||
private String manageUserId;
|
||||
/**
|
||||
* 管理人员
|
||||
*/
|
||||
@Excel(name = "管理人员", width = 15)
|
||||
@Schema(title = "管理人员")
|
||||
private String manageUserName;
|
||||
/**
|
||||
* 管理人员电话
|
||||
*/
|
||||
@Excel(name = "管理人员电话", width = 15)
|
||||
@Schema(title = "管理人员电话")
|
||||
private String manageUserMobile;
|
||||
|
||||
/**
|
||||
* 自检查状态
|
||||
*/
|
||||
@Excel(name = "自检查状态", width = 15)
|
||||
@Schema(title = "自检查状态")
|
||||
@Dict(dicCode = "aed_check_status")
|
||||
private Integer checkStatus;
|
||||
|
||||
/**
|
||||
* 自检查状态
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String checkStatusDesc;
|
||||
/**
|
||||
* 电极片状态
|
||||
*/
|
||||
@Excel(name = "电极片状态", width = 15)
|
||||
@Schema(title = "电极片状态")
|
||||
@Dict(dicCode = "aed_electrode_sheet_status")
|
||||
private Integer electrodeSheetStatus;
|
||||
/**
|
||||
* 电池状态
|
||||
*/
|
||||
@Excel(name = "电池状态", width = 15)
|
||||
@Schema(title = "电池状态")
|
||||
@Dict(dicCode = "aed_battery_status")
|
||||
private Integer batteryStatus;
|
||||
/**
|
||||
* 路由状态
|
||||
*/
|
||||
@Excel(name = "路由状态", width = 15)
|
||||
@Schema(title = "路由状态")
|
||||
@Dict(dicCode = "aed_router_status")
|
||||
private Integer routerStatus;
|
||||
|
||||
/**
|
||||
* 单位名称
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Excel(name = "单位名", width = 15)
|
||||
@Schema(title = "单位名")
|
||||
private String secondDepart;
|
||||
|
||||
/**
|
||||
* 部门名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Excel(name = "部门名", width = 15)
|
||||
@Schema(title = "部门名")
|
||||
private String departName;
|
||||
/**
|
||||
* 部门名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Excel(name = "部门名", width = 15)
|
||||
@Schema(title = "部门名")
|
||||
private String orgName;
|
||||
/**
|
||||
* 单位名
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@Excel(name = "单位名", width = 15)
|
||||
@Schema(title = "单位名")
|
||||
private String secondDepartName;
|
||||
/**
|
||||
* 管理部门名
|
||||
*/
|
||||
private String manageDepartName;
|
||||
|
||||
|
||||
@Excel(name = "管理部门", width = 15)
|
||||
private String manageDepartCode;
|
||||
@Excel(name = "负责人1", width = 15)
|
||||
private String chargeFirst;
|
||||
@Excel(name = "负责人1电话", width = 15)
|
||||
private String chargeFirstMobile;
|
||||
@Excel(name = "负责人2", width = 15)
|
||||
private String chargeSecond;
|
||||
@Excel(name = "负责人2电话", width = 15)
|
||||
private String chargeSecondMobile;
|
||||
@Excel(name = "附件", width = 15)
|
||||
private String annex;
|
||||
@Excel(name = "视频操作", width = 15)
|
||||
private String videoHandle;
|
||||
@Excel(name = "操作说明", width = 15)
|
||||
private String handleExplain;
|
||||
@Excel(name = "设备附件状态", width = 15)
|
||||
private String aedAnnexStatus;
|
||||
@Excel(name = "安装时间", width = 15)
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date installTime;
|
||||
@Excel(name = "覆盖人数", width = 15)
|
||||
private Integer coverUserNum;
|
||||
|
||||
/**
|
||||
* 删除(0:否 1:是)
|
||||
*/
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 创建者
|
||||
*/
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@Excel(name = "备注", width = 15)
|
||||
private String memo;
|
||||
|
||||
/**
|
||||
* 操作图片(文件路径)
|
||||
*/
|
||||
@Excel(name = "操作图片(文件路径)", width = 15)
|
||||
@Schema(title = "操作图片(文件路径)")
|
||||
@NotBlank(message = "请上传操作图片,操作图片不能为空")
|
||||
private String operateInstruction;
|
||||
|
||||
/**
|
||||
* 操作视频(文件路径)
|
||||
*/
|
||||
@Excel(name = "操作视频(文件路径)", width = 15)
|
||||
@Schema(title = "操作视频(文件路径)")
|
||||
@NotBlank(message = "请上传操作视频,操作视频不能为空")
|
||||
private String operateVideo;
|
||||
/**
|
||||
* 免责说明(文件路径)
|
||||
*/
|
||||
@Excel(name = "免责说明(文件路径)", width = 15)
|
||||
@NotBlank(message = "请上传免责说明,免责说明不能为空")
|
||||
@Schema(title = "免责说明(文件路径)")
|
||||
private String disclaimer;
|
||||
|
||||
|
||||
/**
|
||||
* 品牌
|
||||
*/
|
||||
@Excel(name = "品牌", width = 15)
|
||||
@Schema(title = "品牌")
|
||||
private String brand;
|
||||
/**
|
||||
* 型号
|
||||
*/
|
||||
@Excel(name = "型号", width = 15)
|
||||
@Schema(title = "型号")
|
||||
private String model;
|
||||
/**
|
||||
* 来源字典 设备类型 1:立式 ,2:挂式,3:车载
|
||||
*/
|
||||
@Excel(name = "来源字典 设备类型 1:立式 ,2:挂式,3:车载", width = 15)
|
||||
@NotNull(message = "请选择设备类型,设备类型不能为空")
|
||||
@Schema(title = "来源字典 设备类型 1:立式 ,2:挂式,3:车载")
|
||||
@Dict(dicCode = "intervene_aed_type")
|
||||
private Integer type;
|
||||
/**
|
||||
* 入库日期
|
||||
*/
|
||||
@Excel(name = "入库日期", width = 15, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "入库日期")
|
||||
@NotNull(message = "请选择入库日期,入库日期不能为空")
|
||||
private Date inStorageDate;
|
||||
|
||||
/**
|
||||
* /**
|
||||
* 出厂日期
|
||||
*/
|
||||
@Excel(name = "出厂日期", width = 20, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "出厂日期")
|
||||
@NotNull(message = "请选择出厂日期,出厂日期不能为空")
|
||||
private Date outFactoryDate;
|
||||
|
||||
/**
|
||||
* 电池有效期
|
||||
*/
|
||||
@Excel(name = "电池有效期", width = 20, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "电池有效期")
|
||||
@NotNull(message = "请选择电池有效期,电池有效期不能为空")
|
||||
private Date batteryLife;
|
||||
|
||||
|
||||
/**
|
||||
* 电量
|
||||
*/
|
||||
@Excel(name = "电量", width = 15)
|
||||
@Schema(title = "电量")
|
||||
@NotBlank(message = "请输入电量,电量不能为空")
|
||||
private String electricQuantity;
|
||||
|
||||
/**
|
||||
* 设备编号
|
||||
*/
|
||||
@Excel(name = "设备编号", width = 15)
|
||||
@Schema(title = "设备编号")
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 状态(1-正常,2-冻结)
|
||||
*/
|
||||
@Excel(name = "状态(1-正常,2-维护中)", width = 15)
|
||||
@Schema(title = "状态(1-正常,2-维护中)")
|
||||
@NotNull(message = "请选择状态,状态不能为空")
|
||||
@Dict(dicCode = "intervene_aed_status")
|
||||
private Integer status;
|
||||
|
||||
@Excel(name = "自检更新时间", width = 20, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@Schema(title = "自检更新时间")
|
||||
private Date selfCheckUpdateTime;
|
||||
|
||||
// 摄像头序列号
|
||||
private String cameraNum;
|
||||
// 摄像头验证码
|
||||
private String cameraCode;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String aedStatus;
|
||||
|
||||
/**
|
||||
* 是否已布点,1:是,0:否
|
||||
*/
|
||||
@Excel(name = "是否已布点,1:是,0:否", width = 15)
|
||||
@Schema(title = "是否已布点,1:是,0:否")
|
||||
private Integer publishFlag;
|
||||
|
||||
|
||||
/**
|
||||
* 管理部门名称,应急就医AED组网管理部门为下拉选择的code,新系统中为输入,为避免后期数据无法迁移,两项都存在,暂时冗余code
|
||||
*/
|
||||
private String controlOrgName;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user