package com.whyc.pojo;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.apache.ibatis.type.Alias;
|
|
import java.util.Date;
|
|
/**
|
* 设备的通讯状态
|
*/
|
@Alias("Server")
|
@TableName(schema = "`db_3.5mw_web`",value = "tb_server")
|
@ApiModel
|
public class Server {
|
private Integer id;
|
private String ip;
|
|
public Server() {
|
}
|
|
public Server(Integer id, String ip) {
|
this.id = id;
|
this.ip = ip;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getIp() {
|
return ip;
|
}
|
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
}
|