| | |
| | | package com.ycl.platform.domain.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.FieldStrategy; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.platform.base.AbsEntity; |
| | | import enumeration.general.ImportantTagEnum; |
| | | import enumeration.general.ProvinceTagEnum; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | |
| | | @ApiModelProperty("点位开始时间") |
| | | @TableField("start_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime startTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date startTime; |
| | | |
| | | @ApiModelProperty("点位结束时间") |
| | | @TableField("end_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private LocalDateTime endTime; |
| | | @TableField(value = "end_time") |
| | | @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") |
| | | private Date endTime; |
| | | |
| | | @ApiModelProperty("运维单位") |
| | | @TableField(value = "unit_id", updateStrategy = FieldStrategy.IGNORED) |
| | | @TableField(value = "unit_id") |
| | | private Long unitId; |
| | | //是否参与考核 |
| | | @ApiModelProperty("考核状态") |
| | | @TableField("examine_status") |
| | | private Boolean examineStatus; |
| | | |
| | | @ApiModelProperty("运维状态") |
| | | @TableField("status") |
| | |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty("运维类型") |
| | | @TableField("category") |
| | | private Short category; |
| | | |
| | | @ApiModelProperty("上报部门") |
| | | @TableField("dept_id") |
| | | private Long deptId; |
| | | |
| | | @ApiModelProperty("重点点位标签") |
| | | @TableField("important_tag") |
| | | private ImportantTagEnum importantTag; |
| | | private Boolean importantTag; |
| | | |
| | | @ApiModelProperty("省厅点位标签") |
| | | @TableField("province_tag") |
| | | private ProvinceTagEnum provinceTag; |
| | | @ApiModelProperty("省厅视频点位标签") |
| | | @TableField("province_tag_video") |
| | | private Boolean provinceTagVideo; |
| | | |
| | | @ApiModelProperty("省厅车辆点位标签") |
| | | @TableField("province_tag_car") |
| | | private Boolean provinceTagCar; |
| | | |
| | | @ApiModelProperty("省厅人脸点位标签") |
| | | @TableField("province_tag_face") |
| | | private Boolean provinceTagFace; |
| | | |
| | | @ApiModelProperty("重点指挥图像标签") |
| | | @TableField("important_command_image_tag") |
| | | private Boolean importantCommandImageTag; |
| | | |
| | | @ApiModelProperty("部级标签") |
| | | @TableField("dept_tag") |
| | | private Boolean deptTag; |
| | | |
| | | @ApiModelProperty("1在线 0未知 -1离线") |
| | | @TableField("online") |
| | | private Integer online; |
| | | |
| | | @ApiModelProperty("1在线 0未知 -1离线") |
| | | @TableField("ping_online") |
| | | private Integer pingOnline; |
| | | |
| | | @TableField("serial_number") |
| | | private String serialNumber; |
| | |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date recoveryTime; |
| | | |
| | | |
| | | //设备登录的用户名密码 |
| | | @TableField("username") |
| | | private String username; |
| | | @TableField("password") |
| | | private String password; |
| | | } |