package com.sptg.iot.api.entity;

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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zwx
 * @create 2020/10/21 0:34
 */
@Setter
@Getter
@TableName(value = "iot_aep_product")
public class IotAepProduct {

    /**
     * 主键
     */
    @TableId(value = "l_id", type = IdType.AUTO)
    private Long id;

    /**
     * AEP masterkey
     */
    @TableField(value = "s_api_key")
    private String apiKey;

    /**
     * AEP 产品名称
     */
    @TableField(value = "s_product_name")
    private String productName;

    /**
     * AEP 产品ID
     */
    @TableField(value = "s_product_id")
    private String productId;

    /**
     * AEP 产品协议
     */
    @TableField(value = "s_product_protocol")
    private String productProtocol;

    /**
     * AEP 租户ID
     */
    @TableField(value = "s_tenant_id")
    private String tenantId;

    /**
     * 地址前缀
     */
    @TableField(value = "s_prefix")
    private String prefix;

}
