/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此Model */ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using SqlSugar; using VolPro.Entity.SystemModels; namespace VolPro.Entity.DomainModels { public partial class warehouse_realtimealert { //此处配置字段(字段配置见此model的另一个partial),如果表中没有此字段请加上[SugarColumn(IsIgnore = true)]属性,否则会异常 } public class AlertModel { /// ///告警信息 /// [Display(Name = "告警信息")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string Message { get; set; } /// ///告警图片 /// [Display(Name = "告警图片")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string picture { get; set; } /// ///告警原始图片 /// [Display(Name = "告警原始图片")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string originPic { get; set; } /// ///人脸小图 /// [Display(Name = "人脸小图")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string facePic { get; set; } /// ///人体小图 /// [Display(Name = "人体小图")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string bodyPic { get; set; } /// ///告警视频 /// [Display(Name = "告警视频")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string video { get; set; } /// ///推送数据大类 /// [Display(Name = "推送数据大类")] [MaxLength(255)] [Column(TypeName = "nvarchar(255)")] [Editable(true)] public string type { get; set; } /// ///告警数据JSON字符串 /// [Display(Name = "告警数据JSON字符串")] [Column(TypeName = "nvarchar(max)")] [Editable(true)] public string data { get; set; } } /// /// 登录结果类 /// public class LoginResult { /// /// 返回码 /// public string Code { get; set; } /// /// 返回消息 /// public string Message { get; set; } /// /// 返回数据 /// public LoginData Data { get; set; } } /// /// 登录返回的数据 /// public class LoginData { /// /// 主标题 /// public string MainTitle { get; set; } /// /// 会话ID /// public string SessionId { get; set; } /// /// 用户名称 /// public string UserName { get; set; } /// /// 用户ID /// public int UserId { get; set; } /// /// 用户代码 /// public string UserCode { get; set; } } /// /// 人员告警数据模型(对应文档8.7.1人员告警数据详情) /// public class PersonAlertData { /// /// 抓拍ID /// public string captureId { get; set; } /// /// 抓拍(告警)图 /// public string capturePic { get; set; } /// /// 人脸图片 /// public string facePic { get; set; } /// /// 人脸框 /// public string faceRect { get; set; } /// /// 抓拍时间 /// public string captureTime { get; set; } /// /// 抓拍设备名称 /// public string deviceName { get; set; } /// /// 抓拍设备ID /// public string deviceId { get; set; } /// /// 抓拍设备唯一码 /// public string deviceNo { get; set; } /// /// 任务ID /// public string taskId { get; set; } /// /// 人员ID /// public string personId { get; set; } /// /// 人员姓名 /// public string name { get; set; } /// /// 人员底图 /// public string photo { get; set; } /// /// 人员匹配得分 /// public string score { get; set; } /// /// 性别(男,女) /// public string gender { get; set; } /// /// 年龄(少年,中年,老年) /// public string age { get; set; } /// /// 发型(短发,长发) /// public string hair { get; set; } /// /// 帽子类型(戴,未戴) /// public string hat { get; set; } /// /// 目标ID /// public string targetId { get; set; } /// /// 人员库ID /// public string groupId { get; set; } /// /// 人员库属性(1-白名单,2-黑名单) /// public string groupType { get; set; } /// /// 人员库名称 /// public string groupName { get; set; } /// /// 分析设备ID(设备唯一码) /// public string recogDeviceId { get; set; } /// /// 分析设备唯一码 /// public string recogDeviceNo { get; set; } /// /// 租户ID /// public string tenantId { get; set; } /// /// 事件ID /// public string eventId { get; set; } } /// /// 人员抓拍数据模型(对应文档8.6.1人员抓拍数据详情) /// public class PersonCaptureData { /// /// 抓拍ID /// public string captureId { get; set; } /// /// 抓拍(告警)图 /// public string capturePic { get; set; } /// /// 人脸图片 /// public string facePic { get; set; } /// /// 人脸框 /// public string faceRect { get; set; } /// /// 抓拍时间 /// public string captureTime { get; set; } /// /// 抓拍设备名称 /// public string deviceName { get; set; } /// /// 抓拍设备ID /// public string deviceId { get; set; } /// /// 抓拍设备唯一码 /// public string deviceNo { get; set; } /// /// 人员匹配得分 /// public string score { get; set; } /// /// 性别(男,女) /// public string gender { get; set; } /// /// 年龄(少年,中年,老年) /// public string age { get; set; } /// /// 发型(短发,长发) /// public string hair { get; set; } /// /// 帽子类型(戴,未戴) /// public string hat { get; set; } /// /// 口罩(有,无) /// public string mask { get; set; } /// /// 分析设备ID(设备唯一码) /// public string recogDeviceId { get; set; } /// /// 分析设备唯一码 /// public string recogDeviceNo { get; set; } /// /// 租户ID /// public string tenantId { get; set; } } /// /// 人员抓拍数据模型 /// public class PersonCaptureModel { /// /// 租户ID /// public string tenantId { get; set; } /// /// 抓拍ID /// public string captureId { get; set; } /// /// 抓拍设备ID /// public string deviceId { get; set; } /// /// 抓拍设备IP /// public string deviceIp { get; set; } /// /// 分析设备ID /// public string recogDeviceId { get; set; } /// /// 分析设备唯一码 /// public string recogDeviceNo { get; set; } /// /// 分析设备代码 /// public string recogDeviceCode { get; set; } /// /// 抓拍设备名称 /// public string deviceName { get; set; } /// /// 抓拍设备唯一码 /// public string deviceNo { get; set; } /// /// 抓拍设备代码 /// public string deviceCode { get; set; } /// /// 设备位置名称 /// public string deviceLocationName { get; set; } /// /// 抓拍时间 /// public string captureTime { get; set; } /// /// 抓拍(告警)图 /// public string capturePic { get; set; } /// /// 人脸图片 /// public string facePic { get; set; } /// /// 人脸框 /// public string faceRect { get; set; } /// /// 人体图片 /// public string bodyPic { get; set; } /// /// 人体框 /// public string bodyRect { get; set; } /// /// 性别 /// public string gender { get; set; } /// /// 年龄 /// public string age { get; set; } /// /// 上衣颜色 /// public string upperColor { get; set; } /// /// 上衣类型 /// public string upperType { get; set; } /// /// 下衣颜色 /// public string bottomColor { get; set; } /// /// 下衣类型 /// public string bottomType { get; set; } /// /// 发型 /// public string hair { get; set; } /// /// 帽子类型 /// public string hat { get; set; } /// /// 帽子颜色 /// public string hatColor { get; set; } /// /// 眼镜 /// public string glassess { get; set; } /// /// 口罩 /// public string mask { get; set; } /// /// 备注 /// public string comment { get; set; } /// /// 发送状态 /// public string sent { get; set; } /// /// 场景代码 /// public string sceneCode { get; set; } /// /// 轨迹ID /// public string trackId { get; set; } } /// /// 告警类型10数据模型 /// public class PersonCaptureModel10 { /// /// 租户ID /// public string tenantId { get; set; } /// /// 抓拍ID /// public string captureId { get; set; } /// /// 抓拍设备ID /// public string deviceId { get; set; } /// /// 抓拍设备IP /// public string deviceIp { get; set; } /// /// 分析设备ID /// public string recogDeviceId { get; set; } /// /// 分析设备唯一码 /// public string recogDeviceNo { get; set; } /// /// 分析设备代码 /// public string recogDeviceCode { get; set; } /// /// 抓拍设备名称 /// public string deviceName { get; set; } /// /// 抓拍设备唯一码 /// public string deviceNo { get; set; } /// /// 抓拍设备代码 /// public string deviceCode { get; set; } /// /// 设备位置名称 /// public string deviceLocationName { get; set; } /// /// 抓拍时间 /// public string captureTime { get; set; } /// /// 抓拍(告警)图 /// public string capturePic { get; set; } /// /// 人脸图片 /// public string facePic { get; set; } /// /// 人脸框 /// public string faceRect { get; set; } /// /// 人体图片 /// public string bodyPic { get; set; } /// /// 人体框 /// public string bodyRect { get; set; } /// /// 性别 /// public string gender { get; set; } /// /// 年龄 /// public string age { get; set; } /// /// 上衣颜色 /// public string upperColor { get; set; } /// /// 上衣类型 /// public string upperType { get; set; } /// /// 下衣颜色 /// public string bottomColor { get; set; } /// /// 下衣类型 /// public string bottomType { get; set; } /// /// 发型 /// public string hair { get; set; } /// /// 帽子类型 /// public string hat { get; set; } /// /// 帽子颜色 /// public string hatColor { get; set; } /// /// 眼镜 /// public string glassess { get; set; } /// /// 口罩 /// public string mask { get; set; } /// /// 备注 /// public string comment { get; set; } /// /// 发送状态 /// public string sent { get; set; } /// /// 场景代码 /// public string sceneCode { get; set; } /// /// 轨迹ID /// public string trackId { get; set; } } /// /// 人员告警事件数据模型 /// public class PersonAlarmEventModel { /// /// 租户ID /// public string tenantId { get; set; } /// /// 事件ID /// public string eventId { get; set; } /// /// 抓拍ID /// public string captureId { get; set; } /// /// 告警类型 /// public string alertType { get; set; } /// /// 任务ID /// public string taskId { get; set; } /// /// 任务名称 /// public string taskName { get; set; } /// /// 人员ID /// public string personId { get; set; } /// /// 人员编码 /// public string personCode { get; set; } /// /// 人员姓名 /// public string name { get; set; } /// /// 人员底图 /// public string photo { get; set; } /// /// 匹配得分 /// public string score { get; set; } /// /// 人体匹配得分 /// public string bodyScore { get; set; } /// /// 目标ID /// public string targetId { get; set; } /// /// 人员库ID /// public string groupId { get; set; } /// /// 人员库类型 /// public string groupType { get; set; } /// /// 人员库名称 /// public string groupName { get; set; } /// /// 设备ID /// public string deviceId { get; set; } /// /// 设备IP /// public string deviceIp { get; set; } /// /// 分析设备ID /// public string recogDeviceId { get; set; } /// /// 分析设备唯一码 /// public string recogDeviceNo { get; set; } /// /// 分析设备编码 /// public string recogDeviceCode { get; set; } /// /// 分析设备名称 /// public string recogDeviceName { get; set; } /// /// 设备名称 /// public string deviceName { get; set; } /// /// 设备唯一码 /// public string deviceNo { get; set; } /// /// 设备编码 /// public string deviceCode { get; set; } /// /// 设备位置名称 /// public string deviceLocationName { get; set; } /// /// 抓拍时间 /// public string captureTime { get; set; } /// /// 抓拍图片 /// public string capturePic { get; set; } /// /// 人脸图片 /// public string facePic { get; set; } /// /// 人脸框 /// public string faceRect { get; set; } /// /// 人体图片 /// public string bodyPic { get; set; } /// /// 人体框 /// public string bodyRect { get; set; } /// /// 性别 /// public string gender { get; set; } /// /// 年龄 /// public string age { get; set; } /// /// 上衣颜色 /// public string upperColor { get; set; } /// /// 上衣类型 /// public string upperType { get; set; } /// /// 下衣颜色 /// public string bottomColor { get; set; } /// /// 下衣类型 /// public string bottomType { get; set; } /// /// 发型 /// public string hair { get; set; } /// /// 帽子类型 /// public string hat { get; set; } /// /// 帽子颜色 /// public string hatColor { get; set; } /// /// 眼镜 /// public string glassess { get; set; } /// /// 口罩 /// public string mask { get; set; } /// /// 备注 /// public string comment { get; set; } /// /// 是否已处理 /// public string processed { get; set; } /// /// 处理结果 /// public string processResult { get; set; } /// /// 风险等级 /// public string riskLevel { get; set; } /// /// 发送状态 /// public string sent { get; set; } /// /// 场景代码 /// public string sceneCode { get; set; } /// /// 轨迹ID /// public string trackId { get; set; } /// /// 推送状态 /// public string pushStatus { get; set; } /// /// 陌生人ID /// public string strangerId { get; set; } } }