
30 changed files with 110795 additions and 31 deletions
File diff suppressed because it is too large
@ -0,0 +1,44 @@ |
|||
-- -------------------------------------------------------- |
|||
-- 主机: 39.104.100.138 |
|||
-- 服务器版本: 8.0.30 - MySQL Community Server - GPL |
|||
-- 服务器操作系统: Linux |
|||
-- HeidiSQL 版本: 12.5.0.6677 |
|||
-- -------------------------------------------------------- |
|||
|
|||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
|||
/*!40101 SET NAMES utf8 */; |
|||
/*!50503 SET NAMES utf8mb4 */; |
|||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
|||
/*!40103 SET TIME_ZONE='+00:00' */; |
|||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
|||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
|||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
|||
|
|||
-- 导出 表 yxt_supervise_monitor.y_push_police_info 结构 |
|||
DROP TABLE IF EXISTS `y_push_police_info`; |
|||
CREATE TABLE IF NOT EXISTS `y_push_police_info` ( |
|||
`id` bigint NOT NULL AUTO_INCREMENT COMMENT 'ID,唯一编号', |
|||
`state` int NOT NULL DEFAULT '1' COMMENT '记录状态值', |
|||
`isSuccess` int DEFAULT '1' COMMENT '记录是否可用,1:推送成功,0:推送失败', |
|||
`isDelete` int DEFAULT '0' COMMENT '记录是否被删除,0:未删除,1:已经删除', |
|||
`remarks` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注信息', |
|||
`createBySid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '创建者', |
|||
`updateBySid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '更新者', |
|||
`deviceId` bigint DEFAULT NULL COMMENT '设备ID', |
|||
`createTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间', |
|||
`modifyTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '记录最后修改时间', |
|||
`output` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '返回参数', |
|||
`input` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '推送参数', |
|||
`ckId` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '仓库ID', |
|||
`imageOrPolice` tinyint(1) DEFAULT NULL COMMENT '0设备状态报警1图片对比报警', |
|||
`sendTime` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '发送时间', |
|||
PRIMARY KEY (`id`) |
|||
) ENGINE=InnoDB AUTO_INCREMENT=371674 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='推送报警信息表'; |
|||
|
|||
-- 数据导出被取消选择。 |
|||
|
|||
/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */; |
|||
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */; |
|||
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */; |
|||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
|||
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */; |
@ -0,0 +1,21 @@ |
|||
package com.yxt.supervise.monitor.api.demobaseentity; |
|||
|
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.BaseEntity; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有公共字段的实体", description = "有公共字段的实体") |
|||
@TableName("demo_baseentity") |
|||
public class DemoBaseentity extends BaseEntity { |
|||
|
|||
// 公共字段从父类继承
|
|||
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
@ApiModelProperty("密码") |
|||
private String passwd; // 密码
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.yxt.supervise.monitor.api.demobaseentity; |
|||
|
|||
import com.yxt.common.core.dto.Dto; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class DemoBaseentityDto implements Dto { |
|||
private String id; |
|||
private String sid; |
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
@ApiModelProperty("密码") |
|||
private String passwd; // 密码
|
|||
} |
@ -0,0 +1,14 @@ |
|||
package com.yxt.supervise.monitor.api.demobaseentity; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class DemoBaseentityQuery implements Query { |
|||
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
} |
@ -0,0 +1,13 @@ |
|||
package com.yxt.supervise.monitor.api.demobaseentity; |
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
@Data |
|||
public class DemoBaseentityVo implements Vo { |
|||
private String id; |
|||
private String sid; |
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
} |
@ -0,0 +1,28 @@ |
|||
package com.yxt.supervise.monitor.api.demoidentity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("demo_identity") |
|||
public class DemoIdentity extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat( |
|||
pattern = "yyyy-MM-dd HH:mm:ss", |
|||
timezone = "GMT+8" |
|||
) |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
} |
@ -0,0 +1,67 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_call_police") |
|||
public class CallPolice extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("设备ID") |
|||
private String deviceId; |
|||
|
|||
@ApiModelProperty("信息ID") |
|||
private String msgId; |
|||
|
|||
@ApiModelProperty("信息类型") |
|||
private String msgType; |
|||
|
|||
@ApiModelProperty("信息内容") |
|||
private String content; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("设备名称") |
|||
private String name; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("设备位置") |
|||
private String position; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("报警类型") |
|||
private String callType; |
|||
} |
@ -0,0 +1,99 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_device") |
|||
public class Device extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
@ApiModelProperty("设备类型(1摄像头 2电子围栏 3门禁 4报警主机 5nvr)") |
|||
private String type; |
|||
|
|||
@ApiModelProperty("状态0:离线,1:在线,-1:设备未上报。") |
|||
private String status; |
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("验证码") |
|||
private String vCode; |
|||
|
|||
@ApiModelProperty("位置") |
|||
private String position; |
|||
|
|||
@ApiModelProperty("序列号") |
|||
private String serialNumber; |
|||
|
|||
@ApiModelProperty("左偏移") |
|||
private String leftPosition; |
|||
|
|||
@ApiModelProperty("上偏移") |
|||
private String topPosition; |
|||
|
|||
@ApiModelProperty("组号") |
|||
private String channelNo; |
|||
|
|||
@ApiModelProperty("nvr序列号") |
|||
private String nvrSerial; |
|||
|
|||
@ApiModelProperty("nvr验证码") |
|||
private String nvrCode; |
|||
|
|||
@ApiModelProperty("nvrID") |
|||
private Integer nvrId; |
|||
|
|||
@ApiModelProperty("仓库ID") |
|||
private String ckId; |
|||
|
|||
@ApiModelProperty("子系统ID 电子围栏") |
|||
private Integer sysId; |
|||
|
|||
@ApiModelProperty("报警主机ID") |
|||
private Integer bjzjId; |
|||
|
|||
@ApiModelProperty("维修状态") |
|||
private String maintenance; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("维修状态") |
|||
private String maintenanceCount; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("统计数量") |
|||
private String total; |
|||
} |
@ -0,0 +1,96 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_device_image") |
|||
public class DeviceImage extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("名称") |
|||
private String name; // 名称
|
|||
|
|||
@ApiModelProperty("类型") |
|||
private String type; |
|||
|
|||
@ApiModelProperty("状态") |
|||
private String status; |
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("验证码") |
|||
private String vCode; |
|||
|
|||
@ApiModelProperty("位置") |
|||
private String position; |
|||
|
|||
@ApiModelProperty("序列号") |
|||
private String deviceSerial; |
|||
|
|||
@ApiModelProperty("拍照前") |
|||
private String imgBefore; |
|||
|
|||
@ApiModelProperty("拍照后") |
|||
private String imgAfter; |
|||
|
|||
@ApiModelProperty("组号(第几个摄像头)") |
|||
private String channelNo; |
|||
|
|||
@ApiModelProperty("是否展示(只展示最新数据)") |
|||
private String isShow; |
|||
|
|||
@ApiModelProperty("相似度") |
|||
private String similarity; |
|||
|
|||
@ApiModelProperty("仓库ID") |
|||
private String ckId; |
|||
|
|||
@ApiModelProperty("仓库名称") |
|||
@TableField(exist = false) |
|||
private String wareHouseName; |
|||
|
|||
@ApiModelProperty("仓库地址") |
|||
@TableField(exist = false) |
|||
private String wareHouseAddress; |
|||
|
|||
@ApiModelProperty("仓库联系人") |
|||
@TableField(exist = false) |
|||
private String linkerName; |
|||
|
|||
@ApiModelProperty("仓库联系人电话") |
|||
@TableField(exist = false) |
|||
private String linkerPhone; |
|||
} |
@ -0,0 +1,54 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_device_log") |
|||
public class DeviceLog extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("状态") |
|||
private String status; |
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("设备ID") |
|||
private String deviceId; |
|||
|
|||
@ApiModelProperty("日志内容") |
|||
private String content; |
|||
|
|||
@ApiModelProperty("消息ID") |
|||
private String msgId; |
|||
} |
@ -0,0 +1,67 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_message_info") |
|||
public class MessageInfo extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("设备ID") |
|||
private String deviceId; |
|||
|
|||
@ApiModelProperty("信息ID") |
|||
private String msgId; |
|||
|
|||
@ApiModelProperty("信息类型") |
|||
private String msgType; |
|||
|
|||
@ApiModelProperty("信息内容") |
|||
private String content; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("消息类型") |
|||
private String callType; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("设备名称") |
|||
private String name; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("设备位置") |
|||
private String position; |
|||
} |
@ -0,0 +1,71 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_push_police_info") |
|||
public class PushPoliceInfo extends EntityWithId { |
|||
// `id`使用继承的
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否成功 (0成功 1失败)") |
|||
private String isSuccess; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("设备ID") |
|||
private String deviceId; |
|||
|
|||
@ApiModelProperty("信息类型") |
|||
private String msgType; |
|||
|
|||
@ApiModelProperty("推送参数") |
|||
private String input; |
|||
|
|||
@ApiModelProperty("返回参数") |
|||
private String output; |
|||
|
|||
@ApiModelProperty("仓库ID") |
|||
private String ckId; |
|||
|
|||
@ApiModelProperty("发送时间") |
|||
private String sendTime; |
|||
|
|||
@ApiModelProperty("0设备状态报警1图片对比报警") |
|||
private Integer imageOrPolice; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("设备名称") |
|||
private String name; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("设备位置") |
|||
private String position; |
|||
} |
@ -0,0 +1,94 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_warehouse") |
|||
public class WareHouse { |
|||
|
|||
@ApiModelProperty("ID,唯一编号") |
|||
private String sid; |
|||
|
|||
private String custerSid; // 名称
|
|||
|
|||
private String custerName; // 河北欣汇星网络科技有限公司
|
|||
|
|||
@ApiModelProperty("仓库名称") |
|||
private String name; |
|||
|
|||
private String simpleName; // 中通
|
|||
|
|||
private String code; // xhx01
|
|||
|
|||
@ApiModelProperty("省号") |
|||
private String provinceCode; |
|||
|
|||
@ApiModelProperty("省名称") |
|||
private String provinceName; |
|||
|
|||
@ApiModelProperty("市号") |
|||
private String cityCode; |
|||
|
|||
@ApiModelProperty("市名称") |
|||
private String cityName; |
|||
|
|||
@ApiModelProperty("区县号") |
|||
private String countyCode; |
|||
|
|||
@ApiModelProperty("区县名称") |
|||
private String countyName; |
|||
|
|||
@ApiModelProperty("地址拼接") |
|||
private String regionName; |
|||
|
|||
@ApiModelProperty("地址") |
|||
private String address; |
|||
|
|||
private String acreage; // 1350
|
|||
|
|||
private String storeyHeight; // 10m
|
|||
|
|||
private String monthlyPrice; // 27000
|
|||
|
|||
private String attributeCodes; |
|||
|
|||
private String attributeNames; // 自营
|
|||
|
|||
private String housingResource; // 无
|
|||
|
|||
@ApiModelProperty("联系人名称") |
|||
private String linkerName; |
|||
|
|||
@ApiModelProperty("联系人电话") |
|||
private String linkerPhone; |
|||
|
|||
@ApiModelProperty("仓库图片") |
|||
private String picUrl; |
|||
|
|||
@ApiModelProperty("经度") |
|||
private String lon; |
|||
|
|||
@ApiModelProperty("纬度") |
|||
private String lat; |
|||
|
|||
private String shSid; |
|||
|
|||
private String projectSid; |
|||
|
|||
@ApiModelProperty("是否隐藏") |
|||
private boolean showStatus; |
|||
|
|||
@ApiModelProperty("仓库统计") |
|||
@TableField(exist = false) |
|||
private String wareHouseCount; |
|||
|
|||
} |
@ -0,0 +1,50 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_info") |
|||
public class YInfo extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("信息内容") |
|||
private String content; |
|||
|
|||
@ApiModelProperty("消息标题") |
|||
private String title; |
|||
|
|||
} |
@ -0,0 +1,68 @@ |
|||
package com.yxt.supervise.monitor.api.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
|
|||
@Data |
|||
@ApiModel(value = "有ID的实体", description = "有ID的实体") |
|||
@TableName("y_task") |
|||
public class YTask extends EntityWithId { |
|||
// `id`使用继承的
|
|||
|
|||
@ApiModelProperty("记录创建时间") |
|||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
|||
private Date createTime = new Date(); // 记录创建时间
|
|||
|
|||
@ApiModelProperty("备注说明") |
|||
private String remarks; // 备注说明
|
|||
|
|||
@ApiModelProperty("状态") |
|||
private String status; |
|||
|
|||
@ApiModelProperty("信息状态") |
|||
private String state; |
|||
|
|||
@ApiModelProperty("是否删除") |
|||
private String isDelete; |
|||
|
|||
@ApiModelProperty("修改时间") |
|||
private String modifyTime; |
|||
|
|||
@ApiModelProperty("是否可用") |
|||
private String isEnable; |
|||
|
|||
@ApiModelProperty("创建人") |
|||
private String createBySid; |
|||
|
|||
@ApiModelProperty("更新人") |
|||
private String updateBySid; |
|||
|
|||
@ApiModelProperty("秒") |
|||
private String second; |
|||
|
|||
@ApiModelProperty("分") |
|||
private String divide; |
|||
|
|||
@ApiModelProperty("时") |
|||
private String hour; |
|||
|
|||
@ApiModelProperty("天") |
|||
private String day; |
|||
|
|||
@ApiModelProperty("月") |
|||
private String month; |
|||
|
|||
@ApiModelProperty("年") |
|||
private String year; |
|||
|
|||
@TableField(exist = false) |
|||
@ApiModelProperty("多少秒") |
|||
private String seconds; |
|||
} |
@ -0,0 +1,4 @@ |
|||
/** |
|||
* 宇信通监管项目-环境监控(库房监控)项目后台逻辑和接口-接口声明 |
|||
*/ |
|||
package com.yxt.supervise.monitor.api; |
@ -0,0 +1,28 @@ |
|||
package com.yxt.supervise.monitor.api.vo; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Exrickx |
|||
*/ |
|||
@Data |
|||
public class DeviceVo { |
|||
|
|||
private String name; |
|||
|
|||
private String serialNumber; |
|||
|
|||
private String status; |
|||
|
|||
private String similarity; |
|||
|
|||
private String startImage; |
|||
|
|||
private String endImage; |
|||
|
|||
private String startTime; |
|||
|
|||
private String endTime; |
|||
|
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.yxt.supervise.monitor.api.vo; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author Exrickx |
|||
*/ |
|||
@Data |
|||
public class MessageVo { |
|||
|
|||
@ApiModelProperty(value = "消息ID,每条消息的唯一ID,消费者可根据此ID进行去重处理") |
|||
private String msgId; |
|||
|
|||
@ApiModelProperty(value = "消息类型") |
|||
private String msgType; |
|||
|
|||
@ApiModelProperty(value = "消息内容") |
|||
private String content; |
|||
|
|||
@ApiModelProperty(value = "消息发送到消息通道时的时间戳") |
|||
private String timestamp; |
|||
|
|||
} |
@ -0,0 +1,27 @@ |
|||
package com.yxt.supervise.monitor.api.vo; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @author Exrickx |
|||
*/ |
|||
@Data |
|||
public class PageVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@ApiModelProperty(value = "页号") |
|||
private int current; |
|||
|
|||
@ApiModelProperty(value = "页面大小") |
|||
private int size; |
|||
|
|||
@ApiModelProperty(value = "排序字段") |
|||
private String sort; |
|||
|
|||
@ApiModelProperty(value = "排序方式 asc/desc") |
|||
private String order; |
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.yxt.supervise.monitor.api.vo; |
|||
|
|||
import com.yxt.supervise.monitor.api.entity.Device; |
|||
import lombok.Data; |
|||
|
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author Exrickx |
|||
*/ |
|||
@Data |
|||
public class PushPoliceAllVo { |
|||
|
|||
private String sid; |
|||
|
|||
private String name; |
|||
|
|||
private List<DeviceVo> devices; |
|||
|
|||
private Integer errorCount; |
|||
|
|||
private String sendTime; |
|||
|
|||
} |
@ -0,0 +1,23 @@ |
|||
package com.yxt.supervise.monitor.api.vo; |
|||
|
|||
import com.yxt.supervise.monitor.api.entity.Device; |
|||
import com.yxt.supervise.monitor.api.entity.DeviceImage; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author Exrickx |
|||
*/ |
|||
@Data |
|||
public class PushPoliceImageAllVo { |
|||
|
|||
private String sid; |
|||
|
|||
private String name; |
|||
|
|||
private List<DeviceVo> deviceImages; |
|||
|
|||
private String sendTime; |
|||
|
|||
} |
@ -0,0 +1,42 @@ |
|||
package com.yxt.supervise.monitor.api.vo; |
|||
|
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Exrickx |
|||
*/ |
|||
@Data |
|||
public class PushPoliceVo { |
|||
|
|||
private String id; |
|||
|
|||
private String sid; |
|||
|
|||
private String remarks; |
|||
|
|||
private String reportTarget; |
|||
|
|||
private String code; |
|||
|
|||
private String name; |
|||
|
|||
private String content; |
|||
|
|||
private String levelSid; |
|||
|
|||
private String levelCode; |
|||
|
|||
private String levelName; |
|||
|
|||
private String typeSid; |
|||
|
|||
private String typeCode; |
|||
|
|||
private String typeName; |
|||
|
|||
private String bigTypeName; |
|||
|
|||
private String list; |
|||
|
|||
} |
Loading…
Reference in new issue