package com.yuchen.saas.park.api.entity.security;

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

import java.util.Date;

/**
 * <p>
 * 视频监控设备表
 * </p>
 *
 * @author 洪铭铭
 * @since 2024-09-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("saas_park_surveillance_camera")
@ApiModel(value="SaasParkSurveillanceCamera对象", description="视频监控设备表")
public class SaasParkSurveillanceCamera extends BaseEntity {


    @ApiModelProperty(value = "项目id")
    @TableField("park_id")
    private Long parkId;

    @ApiModelProperty(value = "分组id")
    @TableField("group_id")
    private Long groupId;

    @ApiModelProperty(value = "监控类型")
    @TableField("camera_type")
    private String cameraType;

    @ApiModelProperty(value = "产品")
    @TableField("product")
    private String product;

    @ApiModelProperty(value = "设备名称")
    @TableField("device_name")
    private String deviceName;

    @ApiModelProperty(value = "设备图片")
    @TableField("device_photo")
    private String devicePhoto;

    @ApiModelProperty(value = "设备编码")
    @TableField("product_key")
    private String productKey;

    @ApiModelProperty(value = "设备状态")
    @TableField("device_status")
    private String deviceStatus;

    @ApiModelProperty(value = "经度")
    @TableField("longitude")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    @TableField("latitude")
    private String latitude;

    @ApiModelProperty(value = "品牌")
    @TableField("brand")
    private String brand;

    @ApiModelProperty(value = "型号")
    @TableField("model")
    private String model;

    @ApiModelProperty(value = "IP地址")
    @TableField("ip_address")
    private String ipAddress;

    @ApiModelProperty(value = "端口号")
    @TableField("port")
    private String port;

    @ApiModelProperty(value = "通道号")
    @TableField("channel")
    private String channel;

    @ApiModelProperty(value = "实时码流")
    @TableField("live_stream")
    private String liveStream;

    @ApiModelProperty(value = "录像码流")
    @TableField("playback_stream")
    private String playbackStream;

    @ApiModelProperty(value = "录像计划")
    @TableField("record_plan")
    private String recordPlan;

    @ApiModelProperty(value = "用户名")
    @TableField("user_name")
    private String userName;

    @ApiModelProperty(value = "密码")
    @TableField("password")
    private String password;

    @ApiModelProperty(value = "安装空间")
    @TableField("install_location")
    private String installLocation;

    @ApiModelProperty(value = "最后连接时间")
    @TableField("last_connect_time")
    private Date lastConnectTime;

    @ApiModelProperty(value = "最后断开时间")
    @TableField("last_disconnect_time")
    private Date lastDisconnectTime;

    @ApiModelProperty(value = "设备描述")
    @TableField("device_desc")
    private String deviceDesc;
    
    @ApiModelProperty(value = "详细地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "安装空间名称")
    @TableField("install_location_name")
    private String installLocationName;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getInstallLocationName() {
        return installLocationName;
    }

    public void setInstallLocationName(String installLocationName) {
        this.installLocationName = installLocationName;
    }

    public Long getParkId() {
        return parkId;
    }

    public void setParkId(Long parkId) {
        this.parkId = parkId;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public String getCameraType() {
        return cameraType;
    }

    public void setCameraType(String cameraType) {
        this.cameraType = cameraType;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDevicePhoto() {
        return devicePhoto;
    }

    public void setDevicePhoto(String devicePhoto) {
        this.devicePhoto = devicePhoto;
    }

    public String getProductKey() {
        return productKey;
    }

    public void setProductKey(String productKey) {
        this.productKey = productKey;
    }

    public String getDeviceStatus() {
        return deviceStatus;
    }

    public void setDeviceStatus(String deviceStatus) {
        this.deviceStatus = deviceStatus;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getInstallLocation() {
        return installLocation;
    }

    public void setInstallLocation(String installLocation) {
        this.installLocation = installLocation;
    }

    public Date getLastConnectTime() {
        return lastConnectTime;
    }

    public void setLastConnectTime(Date lastConnectTime) {
        this.lastConnectTime = lastConnectTime;
    }

    public Date getLastDisconnectTime() {
        return lastDisconnectTime;
    }

    public void setLastDisconnectTime(Date lastDisconnectTime) {
        this.lastDisconnectTime = lastDisconnectTime;
    }

    public String getDeviceDesc() {
        return deviceDesc;
    }

    public void setDeviceDesc(String deviceDesc) {
        this.deviceDesc = deviceDesc;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getLiveStream() {
        return liveStream;
    }

    public void setLiveStream(String liveStream) {
        this.liveStream = liveStream;
    }

    public String getPlaybackStream() {
        return playbackStream;
    }

    public void setPlaybackStream(String playbackStream) {
        this.playbackStream = playbackStream;
    }

    public String getRecordPlan() {
        return recordPlan;
    }

    public void setRecordPlan(String recordPlan) {
        this.recordPlan = recordPlan;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
