| New file |
| | |
| | | package cn.gistack.sm.sjztmd.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | /** |
| | | * 视频(中台表) |
| | | */ |
| | | @Data |
| | | @TableName("\"att_wmst_base\"") |
| | | public class AttWmstBase { |
| | | |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | // @JsonSerialize(using = ToStringSerializer.class) |
| | | @ApiModelProperty(value = "主键") |
| | | @TableField("\"guid\"") |
| | | // @TableId("\"guid\"") |
| | | private String guid; |
| | | |
| | | /** |
| | | * 水库id |
| | | */ |
| | | @ApiModelProperty(value = "水库id") |
| | | @TableField("\"res_guid\"") |
| | | private String resGuid; |
| | | |
| | | /** |
| | | * 视频id |
| | | */ |
| | | @ApiModelProperty(value = "视频id") |
| | | @TableField("\"video_guid\"") |
| | | private String videoGuid; |
| | | |
| | | /** |
| | | * 视频点名称 |
| | | */ |
| | | @ApiModelProperty(value = "视频点名称") |
| | | @TableField("\"video_name\"") |
| | | private String videoName; |
| | | |
| | | /** |
| | | * 在线状态(0离线,1在线) |
| | | */ |
| | | @ApiModelProperty(value = "在线状态(0离线,1在线)") |
| | | @TableField("\"online\"") |
| | | private Integer online; |
| | | |
| | | /** |
| | | * 在线状态(1海康老平台,2海康楚天云平台) |
| | | */ |
| | | @ApiModelProperty(value = "来源") |
| | | @TableField("\"sys_resource\"") |
| | | private Integer sysResource; |
| | | |
| | | /** |
| | | * 建站时间 |
| | | */ |
| | | @ApiModelProperty(value = "建站时间") |
| | | @TableField("\"comp_time\"") |
| | | private String compTime; |
| | | |
| | | |
| | | /** |
| | | * 厂商 |
| | | */ |
| | | @ApiModelProperty(value = "厂商") |
| | | @TableField("\"factory\"") |
| | | private String factory; |
| | | |
| | | |
| | | /** |
| | | * 采集时间 |
| | | */ |
| | | @ApiModelProperty(value = "采集时间") |
| | | @TableField("\"collect_time\"") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private String collectTime; |
| | | |
| | | |
| | | } |