/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.device.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-12-06
 */
@Data
@TableName("smart_gb_device")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "GbDevice对象", description = "GbDevice对象")
public class Gb28181Device extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 设备编号
	*/
		@ApiModelProperty(value = "设备编号")
		private String deviceId;
	/**
	* 设备名称
	*/
		@ApiModelProperty(value = "设备名称")
		private String name;
	/**
	* 厂商名称
	*/
		@ApiModelProperty(value = "厂商名称")
		private String manufacturer;
	/**
	* 型号
	*/
		@ApiModelProperty(value = "型号")
		private String model;
	/**
	* 传输协议 UDP/TCP
	*/
		@ApiModelProperty(value = "传输协议 UDP/TCP")
		private String transport;
	/**
	* 数据流传输模式，UDP:udp传输，TCP-ACTIVE：tcp主动模式，TCP-PASSIVE：tcp被动模式
	*/
		@ApiModelProperty(value = "数据流传输模式，UDP:udp传输，TCP-ACTIVE：tcp主动模式，TCP-PASSIVE：tcp被动模式")
		private String streamMode;
	/**
	* 在线状态，1：在线
	*/
		@ApiModelProperty(value = "在线状态，1：在线")
		private Integer online;
	/**
	* 注册时间
	*/
		@ApiModelProperty(value = "注册时间")
		private String registerTime;
	/**
	* 心跳时间
	*/
		@ApiModelProperty(value = "心跳时间")
		private String keepaliveTime;
	/**
	* wan地址_ip
	*/
		@ApiModelProperty(value = "wan地址_ip")
		private String ip;
	/**
	* wan地址_port
	*/
		@ApiModelProperty(value = "wan地址_port")
		private Integer port;
	/**
	* wan地址（ip+port）
	*/
		@ApiModelProperty(value = "wan地址（ip+port）")
		private String hostAddress;
	/**
	* 园区ID
	*/
		@ApiModelProperty(value = "园区ID")
		private Long agencyId;
	/**
	* 区域ID
	*/
		@ApiModelProperty(value = "区域ID")
		private Long residentialId;

		private String tenantId;


}
