| | |
| | | package com.thhy.staff.modules.biz.platuser.entity; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.thhy.general.annotations.Idkey; |
| | | import lombok.Data; |
| | | |
| | |
| | | |
| | | private String oriStr; |
| | | |
| | | private Integer cmpType; |
| | | |
| | | private String captureScore; |
| | | |
| | | |
| | | public DoorLis() { |
| | | } |
| | |
| | | public DoorLis(String oriStr) { |
| | | this.oriStr = oriStr; |
| | | } |
| | | |
| | | public DoorLis(JSONObject jsonObject) { |
| | | this.macAddress = jsonObject.getString("dev_sno"); |
| | | long time = jsonObject.getLong("capture_time"); |
| | | this.dateTime = new Date(time); |
| | | this.employeeNoString = jsonObject.getString("person_id"); |
| | | this.oriStr = jsonObject.getString("capture_img"); |
| | | this.cmpType = jsonObject.getInteger("cmp_type"); |
| | | this.verify = jsonObject.getInteger("capture_status"); |
| | | this.captureScore = jsonObject.getString("capture_score"); |
| | | } |
| | | } |