Newer
Older
huludao / src / main / java / com / newfiber / api / pc / camera / dto / CameraInfo.java
package com.newfiber.api.pc.camera.dto;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 摄像头表 Domain
 * @author xiebinbin
 * @date 2020-12-12 16:49:48
 */
@Data
@TableName("camera_info")
public class CameraInfo extends BaseDomain {
	private static final long serialVersionUID = 1L;
	
	/**  */
	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;
	/** 摄像头唯一编码,用于绑定摄像头 */
	@TableField("device_code")
	private String deviceCode;
	/** 摄像头名称 */
	@TableField("device_name")
	private String deviceName;
	/** 站点名称 */
	@TableField("site_id")
	private Integer siteId;
	/** 通道号 */
	@TableField("channel_id")
	private String channelId;
	/** 码流类型,0:高清主码流;1:标清辅码流 */
	@TableField("stream_id")
	private Integer streamId;
	/** 摄像头在线状态0:表示不在线;1:表示在线 */
	@TableField("status_online")
	private Integer statusOnline;
	@TableField(exist = false)
	private String siteName;
	@TableField(exist = false)
	private String pointx;
	@TableField(exist = false)
	private String pointy;
	@ApiModelProperty(value = "0为枪机,1为球机")
	@TableField("camera_type")
	private Integer cameraType;

	@TableField("x")
	private String x;

	@TableField("y")
	private String y;
}