| | |
| | | @Column(name = "CAMERA_ID_", length = 50) |
| | | @PropertyDef(label = "关联摄像头") |
| | | private String cameraId; |
| | | |
| | | |
| | | @Column(name = "RESULT_", length = 30) |
| | | @PropertyDef(label = "抓拍结果") |
| | | private String result="SUCCESS"; |
| | | private String result = "SUCCESS"; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @Column(name = "UPDATE_TIME_") |
| | |
| | | @PropertyDef(label = "预置位编号") |
| | | private String preset; |
| | | |
| | | public SecSnapDepot() { |
| | | } |
| | | |
| | | public SecSnapDepot(String id, String companyId, String deptId, String depotId, String cameraId, String result, Date updateTime, String fileSuffix, String fileName, String preset) { |
| | | this.id = id; |
| | | this.companyId = companyId; |
| | | this.deptId = deptId; |
| | | this.depotId = depotId; |
| | | this.cameraId = cameraId; |
| | | this.result = result; |
| | | this.updateTime = updateTime; |
| | | this.fileSuffix = fileSuffix; |
| | | this.fileName = fileName; |
| | | this.preset = preset; |
| | | } |
| | | |
| | | public SecSnapDepot(String tag) { |
| | | if ("TEST".equals(tag)) { |
| | | this.id = "TEST"; |
| | | this.fileName = "./static/images/img-fail.jpg"; |
| | | this.updateTime = new Date(); |
| | | } |
| | | } |
| | | } |