package com.yuchen.saas.device.api.entity;

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

import java.util.Date;

/**
 * 运营端设备中心
 *
 * @author zhouhanwei
 * @since 2024-06-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("net_operate_device")
@ApiModel(value="NetOperateDevice对象", description="运营端设备中心")
public class NetOperateDevice extends BaseEntity {

    /**
     * 所属客户(组织)
     */
    @ApiModelProperty(name = "customerManageId", value = "所属客户(组织)")
    private Long customerManageId;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    private Long projectId;
    /**
     * 产品来源（1：IOT产品，2：第三方产品）
     */
    @ApiModelProperty(name = "productSource", value = "产品来源（1：IOT产品，2：第三方产品）")
    private String productSource;
    /**
     * 产品id
     */
    @ApiModelProperty(name = "productId", value = "产品id")
    private Long productId;
    /**
     * 设备类型
     */
    @ApiModelProperty(name = "deviceCategoryId", value = "设备类型")
    private Long deviceCategoryId;
    /**
     * iot产品key
     */
    @ApiModelProperty(name = "productKey", value = "iot产品key")
    private String productKey;
    /**
     * 大类（1：视频监控，2：智能硬件，3：传感设备）
     */
    @ApiModelProperty(name = "broadCategory", value = "大类（1：视频监控，2：智能硬件，3：传感设备）")
    private String broadCategory;
    /**
     * iot设备标识
     */
    @ApiModelProperty(name = "deviceName", value = "iot设备标识")
    private String deviceName;
    /**
     * 设备名称
     */
    @ApiModelProperty(name = "deviceAlias", value = "设备名称")
    private String deviceAlias;
    /**
     * 设备品牌id
     */
    @ApiModelProperty(name = "deviceBrandId", value = "设备品牌id")
    private Long deviceBrandId;
    /**
     * 设备型号id
     */
    @ApiModelProperty(name = "deviceModelId", value = "设备型号id")
    private Long deviceModelId;
    /**
     * 设备状态
     */
    @ApiModelProperty(name = "deviceState", value = "设备状态")
    private String deviceState;
    /**
     * 是否在线；0-离线，1-在线
     */
    @ApiModelProperty(name = "isOnline", value = "是否在线；0-离线，1-在线")
    private Integer isOnline;
    /**
     * 最后连接时间
     */
    @ApiModelProperty(name = "lastConnectTime", value = "最后连接时间")
    private Date lastConnectTime;
    /**
     * 最后断开时间
     */
    @ApiModelProperty(name = "lastDisconnectTime", value = "最后断开时间")
    private Date lastDisconnectTime;
    /**
     * 地理位置
     */
    @ApiModelProperty(name = "location", value = "地理位置")
    private String location;
    /**
     * 经度
     */
    @ApiModelProperty(name = "longitude", value = "经度")
    private String longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(name = "latitude", value = "纬度")
    private String latitude;
    /**
     * 设备图片
     */
    @ApiModelProperty(name = "filePath", value = "设备图片")
    private String filePath;
    /**
     * 备注信息
     */
    @ApiModelProperty(name = "remark", value = "备注信息")
    private String remark;
    /**
     * 设备类型（废弃）
     */
    @ApiModelProperty(name = "deviceType", value = "设备类型（废弃）")
    private Integer deviceType;
    /**
     * 型号（废弃）
     */
    @ApiModelProperty(name = "model", value = "型号（废弃）")
    private String model;
    /**
     * 品牌（废弃）
     */
    @ApiModelProperty(name = "brand", value = "品牌（废弃）")
    private String brand;



}
