package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.iformall.domain.po.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

@TableName(value = "wx_device")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class WxDevice extends BaseEntity {

    protected Long id;

    @io.swagger.annotations.ApiModelProperty(value="租户id",name="tenantId")
	private String tenantId;

	@io.swagger.annotations.ApiModelProperty(value="设备id",name="deviceId")
	private String deviceId;

	@io.swagger.annotations.ApiModelProperty(value="设备类型",name="type")
	private Integer type;

	@io.swagger.annotations.ApiModelProperty(value="设备状态",name="status")
	private Integer status;

	@io.swagger.annotations.ApiModelProperty(value="版本号信息",name="version")
	private String version;

    @io.swagger.annotations.ApiModelProperty(value="设备名",name="name")
    private String name;

    @io.swagger.annotations.ApiModelProperty(value="设备位置",name="location")
    private String location;

	@io.swagger.annotations.ApiModelProperty(value="创建时间",name="createDate")
	private Date createDate;

	@io.swagger.annotations.ApiModelProperty(value="更新时间",name="updateDate")
	private Date updateDate;

	@io.swagger.annotations.ApiModelProperty(value="在线状态",name="onlineStatus")
	private Integer onlineStatus;

	@io.swagger.annotations.ApiModelProperty(value="第一次连线时间",name="firstHbTime")
	private Date firstHbTime;

	@io.swagger.annotations.ApiModelProperty(value="最后一次在线时间",name="lastHbTime")
	private Date lastHbTime;

	@io.swagger.annotations.ApiModelProperty(value="需要执行的命令",name="hbCmd")
	private Integer hbCmd;

	@io.swagger.annotations.ApiModelProperty(value="设备配置",name="config")
	private String config;

}
