Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / PondingDevice.java
package com.newfiber.api.pc.model.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 lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 积水点基础数据表
 */
@Data
@TableName("ponding_device")
public class PondingDevice implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**设备id**/
    @TableField("device_id")
    private String deviceId;

    /**设备名称**/
    @TableField("device_name")
    private String deviceName;

    /**用户站类型**/
    @TableField("use_type")
    private String useType;

    /**用户站参数**/
    @TableField("use_param")
    private Byte useParam;

    /**管理id**/
    @TableField("manage_id")
    private Long manageId;

    /**通讯设备id**/
    @TableField("msg_id")
    private Long msgId;

    /**传输设备id**/
    @TableField("send_device_id")
    private Long sendDeviceId;

    /**数据采集方式**/
    @TableField("collect_type")
    private Byte collectType;

    /**数据采集方式**/
    @TableField("enabled")
    private String enabled;

    /**纬度**/
    @TableField("lat")
    private String lat;

    /**经度**/
    @TableField("lon")
    private String lon;

    /**安装时间**/
    @TableField("install_time")
    private Date installTime;

    /**安装地点**/
    @TableField("address")
    private String address;

    /**手机卡号**/
    @TableField("number")
    private Long number;

    /**视频编号**/
    @TableField("index_code")
    private String indexCode;

    /**视频状态**/
    @TableField(exist = false)
    private int status;
}