| package com.doumee.dao.admin.response; | 
|   | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import lombok.Data; | 
| import java.util.Date; | 
|   | 
| /** | 
|  * @author T14 | 
|  */ | 
| @Data | 
| @ApiModel("门禁事件推送记录表") | 
| public class DeviceEventDTO { | 
|   | 
|     @ApiModelProperty(value = "创建人编码") | 
|     private Integer creator; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "更新人编码") | 
|     private Integer editor; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     private Date editDate; | 
|   | 
|     @ApiModelProperty(value = "是否删除0否 1是") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "事件唯一标识,同一事件若上报多次,则上报事件的eventId相同") | 
|     private String eventId; | 
|   | 
|     @ApiModelProperty(value = "事件类型 -- 197163,人脸认证失败 ; 196893,人脸认证通过") | 
|     @ExcelColumn(name="事件类型",index = 7,width = 16,valueMapping = "197163=人脸认证失败;196893=人脸认证通过;") | 
|     private Integer eventType; | 
|     @ApiModelProperty(value = "事件类型名称") | 
|     private String eventTypeName; | 
|   | 
|     @ApiModelProperty(value = "事件源类型,如“acsDevice”") | 
|     private String srcType; | 
|   | 
|     @ApiModelProperty(value = "事件发生时间(设备时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     @ExcelColumn(name="事件时间",index = 9,width = 16,dateFormat = "yyyy-MM-dd HH:mm:ss") | 
|     private String happenTime; | 
|   | 
|     @ApiModelProperty(value = "门禁点唯一接入编码") | 
|     private String srcIndex; | 
|   | 
|     @ApiModelProperty(value = "门禁点名称") | 
|     @ExcelColumn(name="门禁点",index = 6,width = 16) | 
|     private String srcName; | 
|   | 
|     @ApiModelProperty(value = "门禁名称") | 
|     @ExcelColumn(name="门禁名称",index = 5,width = 16) | 
|     private String devName; | 
|   | 
|     @ApiModelProperty(value = "事件状态,0-瞬时1-开始2-停止4-事件联动结果更新5-事件图片异步上传") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "脉冲超时时间,单位:秒,瞬时事件此字段填0") | 
|     private Integer timeout; | 
|   | 
|     @ApiModelProperty(value = "人员通道号") | 
|     private Integer extAccessChannel; | 
|   | 
|     @ApiModelProperty(value = "报警输入/防区通道") | 
|     private Integer extEventAlarmInID; | 
|   | 
|     @ApiModelProperty(value = "报警输出通道") | 
|     private Integer extEventAlarmOutID; | 
|   | 
|     @ApiModelProperty(value = "卡号") | 
|     private String extEventCardNo; | 
|   | 
|     @ApiModelProperty(value = "事件输入通道") | 
|     private Integer extEventCaseID; | 
|   | 
|     @ApiModelProperty(value = "事件类型代码") | 
|     private Integer extEventCode; | 
|   | 
|     @ApiModelProperty(value = "门编号") | 
|     private Integer extEventDoorID; | 
|   | 
|     @ApiModelProperty(value = "身份证图片URL") | 
|     private String extEventIDCardPictureURL; | 
|   | 
|     @ApiModelProperty(value = "进出方向 1-进 0-出 -1:未知 要求:进门读卡器拨码设置为1,出门读卡器拨码设置为2") | 
|     @ExcelColumn(name="出入类型",index = 8,width = 8,valueMapping = "1=进;-1=出;") | 
|     private Integer extEventInOut; | 
|   | 
|     @ApiModelProperty(value = "就地控制器id") | 
|     private Integer extEventLocalControllerID; | 
|   | 
|     @ApiModelProperty(value = "主设备拨码") | 
|     private Integer extEventMainDevID; | 
|   | 
|     @ApiModelProperty(value = "人员编号") | 
|     private String extEventPersonNo; | 
|   | 
|     @ApiModelProperty(value = "公司/组织") | 
|     @ExcelColumn(name="公司/组织",index = 4,width = 16) | 
|     private String personCompanyName; | 
|   | 
|     @ApiModelProperty(value = "手机号") | 
|     @ExcelColumn(name="手机号",index = 3,width = 10) | 
|     private String personPhone; | 
|   | 
|     @ApiModelProperty(value = "人员类型") | 
|     @ExcelColumn(name="人员类型",valueMapping = "0=劳务访客;1=普通访客;2=内部人员;",index = 1,width = 10) | 
|     private Integer personType; | 
|   | 
|     @ApiModelProperty(value = "人员身份证号") | 
|     private String personIdcardDecode; | 
|   | 
|     @ApiModelProperty(value = "人员名称") | 
|     @ExcelColumn(name="姓名",index = 2,width = 10) | 
|     private String personName; | 
|     @ApiModelProperty(value = "人员编码") | 
|     private String memberId; | 
|     @ApiModelProperty(value = "读卡器类别0-无效1-IC读卡器2-身份证读卡器3-二维码读卡器4-指纹头") | 
|     private Integer extEventReaderKind; | 
|   | 
|     @ApiModelProperty(value = "读卡器id") | 
|     private Integer extEventReaderID; | 
|   | 
|     @ApiModelProperty(value = "图片的url") | 
|     private String extEventPictureURL; | 
|   | 
|     @ApiModelProperty(value = "图片存储服务器唯一标识") | 
|     private String svrIndexCode; | 
|   | 
|     @ApiModelProperty(value = "报告上传通道,1-布防int上传2-中心组1上传3-中心组2上传0-无效") | 
|     private Integer extEventReportChannel; | 
|   | 
|     @ApiModelProperty(value = "群组编号") | 
|     private Integer extEventRoleID; | 
|   | 
|     @ApiModelProperty(value = "分控制器硬件ID") | 
|     private Integer extEventSubDevID; | 
|   | 
|     @ApiModelProperty(value = "刷卡次数") | 
|     private Integer extEventSwipNum; | 
|   | 
|     @ApiModelProperty(value = "门禁事件类型") | 
|     private Integer extEventType; | 
|   | 
|     @ApiModelProperty(value = "多重认证序号") | 
|     private Long extEventVerifyID; | 
|   | 
|     @ApiModelProperty(value = "白名单单号") | 
|     private String extEventWhiteListNo; | 
|   | 
|     @ApiModelProperty(value = "事件上报驱动的时间") | 
|     private String extReceiveTime; | 
|   | 
|     @ApiModelProperty(value = "事件流水号,为0无效") | 
|     private Integer seq; | 
|   | 
|     @ApiModelProperty(value = "用户类型,人员类型:0 未知,1 普通,2 来宾,3 黑名单,4 管理员") | 
|     private Integer userType; | 
|   | 
|     @ApiModelProperty(value = "身份证住址") | 
|     private String address; | 
|   | 
|     @ApiModelProperty(value = "身份证出生日期") | 
|     private String birth; | 
|   | 
|     @ApiModelProperty(value = "身份证有效日期结束时间") | 
|     private String endDate; | 
|   | 
|     @ApiModelProperty(value = "身份证id") | 
|     private String idNum; | 
|   | 
|     @ApiModelProperty(value = "身份证签发机关") | 
|     private String issuingAuthority; | 
|   | 
|     @ApiModelProperty(value = "身份证姓名") | 
|     private String name; | 
|   | 
|     @ApiModelProperty(value = "身份证性别 0-未知1-男 2-女") | 
|     private Integer sex; | 
|   | 
|     @ApiModelProperty(value = "身份证有效日期开始时间") | 
|     private String startDate; | 
|   | 
|     @ApiModelProperty(value = "是否长期有效,0-否(有效截止日期有效)1-是(有效截止日期无效)") | 
|     private Integer termOfValidity; | 
|   | 
|     @ApiModelProperty(value = "通道号") | 
|     private Integer accessChannel; | 
|   | 
|     @ApiModelProperty(value = "通道进人数") | 
|     private Integer entryTimes; | 
|   | 
|     @ApiModelProperty(value = "通道出人数") | 
|     private Integer exitTimes; | 
|   | 
|     @ApiModelProperty(value = "通道总通行人数") | 
|     private Integer totalTimes; | 
|   | 
|     @ApiModelProperty(value = "控制器设备唯一接入编码") | 
|     private String srcParentIndex; | 
| } |