/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.springblade.jfpt.equipment.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
|
/**
|
* 实体类
|
*
|
* @author BladeX
|
* @since 2020-07-01
|
*/
|
@Data
|
@TableName("sys_equipment")
|
@ApiModel(value = "Equipment对象", description = "Equipment对象")
|
public class Equipment implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
/**
|
* 设备名称
|
*/
|
@ApiModelProperty(value = "设备名称")
|
@TableField("deviceName")
|
private String deviceName;
|
/**
|
* 设备编码
|
*/
|
@ApiModelProperty(value = "设备编码")
|
@TableField("deviceNumber")
|
private String deviceNumber;
|
/**
|
* 设备类型
|
*/
|
@ApiModelProperty(value = "设备类型")
|
@TableField("deviceType")
|
private String deviceType;
|
/**
|
* 权属
|
*/
|
@ApiModelProperty(value = "权属")
|
private String ownership;
|
/**
|
* 业主id
|
*/
|
@ApiModelProperty(value = "业主id")
|
@TableField("ownerId")
|
private String ownerId;
|
/**
|
* 设备状态
|
*/
|
@ApiModelProperty(value = "设备状态")
|
private String devicestate;
|
/**
|
* 提交日期
|
*/
|
@ApiModelProperty(value = "提交日期")
|
private String stime;
|
/**
|
* 空间坐标
|
*/
|
// @ApiModelProperty(value = "空间坐标")
|
// private String coordinate;
|
/**
|
* 菜单父主键
|
*/
|
@JsonSerialize(using = ToStringSerializer.class)
|
private Long parentId;
|
|
private String jd;
|
|
private String wd;
|
private String addvcd;
|
private String street;
|
private String dtype;
|
@TableField("serialNumber")
|
private String serialNumber;
|
private String stype;
|
@TableField("channelNumber")
|
private String channelNumber;
|
private String pay;
|
@TableField("expireTime")
|
private String expireTime;
|
private String heartbeat;
|
private String province;
|
private String city;
|
private String district;
|
private String state;
|
private String reason;
|
|
@TableField("deptId")
|
private String deptId;
|
|
@TableField("onePhone")
|
private String onePhone;
|
@TableField("twoPhone")
|
private String twoPhone;
|
@TableField("ThreePhone")
|
private String ThreePhone;
|
@TableField("oneId")
|
private String oneId;
|
@TableField("twoId")
|
private String twoId;
|
@TableField("threeId")
|
private String threeId;
|
@TableField("oneContacts")
|
private String oneContacts;
|
@TableField("twoContacts")
|
private String twoContacts;
|
@TableField("ThreeContacts")
|
private String ThreeContacts;
|
/**
|
* 设备厂商名称
|
*/
|
private String manufacturers;
|
|
/**
|
* 设备型号
|
*/
|
@TableField("eq_model")
|
private String eqModel;
|
|
/**
|
* 产品id,onenetstudio 平台生成
|
*/
|
@TableField("pro_id")
|
private String proId;
|
|
/**
|
* 设备秘钥,onenetstudio 平台生成
|
*/
|
@TableField("eq_secret")
|
private String eqSecret;
|
|
/**
|
* 设备名称,onenetstudio 平台生成
|
*/
|
@TableField("eq_name")
|
private String eqName;
|
|
/**
|
* 联网方式
|
*/
|
@TableField("net_type")
|
private String netType;
|
}
|