package com.yuchen.saas.park.api.vo.fault;

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

/**
 * @author 吕海泉
 * @create 2020/12/20 19:32
 */

@Data
@TableName("iot_device_property")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "DeviceProperty对象", description = "DeviceProperty对象")
public class DeviceProperty extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 设备productKey
     */
    private String productKey;

    /**
     * 设备deviceName
     */
    private String deviceName;

    /**
     * 属性标识
     */
    private String identify;

    /**
     * 属性值
     */
    private Object value;

    /**
     * 设备事件时间
     */
    private String deviceTime;

    private Object desire;

    private String unit;

    private Integer type;
}
