package cn.com.basic.face.discern.entity;
|
|
import java.io.Serializable;
|
|
import cn.com.basic.face.discern.common.BaseEntity;
|
|
/**
|
* Device
|
*/
|
public class Device extends BaseEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODEL_NAME = "Device";
|
|
public static final class FieldNames {
|
/**
|
* 设备主键
|
*/
|
public static final String deviceId = "deviceId";
|
/**
|
* 设备所属公司
|
*/
|
public static final String companyId = "companyId";
|
/**
|
* 设备名称
|
*/
|
public static final String deviceName = "deviceName";
|
/**
|
* 设备类型
|
*/
|
public static final String type = "type";
|
/**
|
* 设备地址
|
*/
|
public static final String address = "address";
|
/**
|
* 学校名称
|
*/
|
public static final String schoolName = "schoolName";
|
/**
|
* 品牌
|
*/
|
public static final String brandId = "brandId";
|
/**
|
* IP
|
*/
|
public static final String ip = "ip";
|
/**
|
* 端口
|
*/
|
public static final String port = "port";
|
/**
|
* 分辨率
|
*/
|
public static final String resolutionId = "resolutionId";
|
/**
|
* 用户名
|
*/
|
public static final String username = "username";
|
/**
|
* 密码
|
*/
|
public static final String password = "password";
|
/**
|
* 通讯协议
|
*/
|
public static final String protocolId = "protocolId";
|
/**
|
* 序列号
|
*/
|
public static final String sn = "sn";
|
/**
|
* 所属设备id
|
*/
|
public static final String belongId = "belongId";
|
|
/**
|
* 负责人
|
*/
|
public static final String principal="principal";
|
|
/**
|
* 安装时间
|
*/
|
public static final String installTime="installTime";
|
|
/**
|
* 安装公司
|
*/
|
public static final String installCompany="installCompany";
|
|
/**
|
* 生产厂家
|
*/
|
public static final String manufacturer="manufacturer";
|
|
/**
|
* 生产日期
|
*/
|
public static final String productionDate="productionDate";
|
|
/**
|
* 备注
|
*/
|
public static final String remark="remark";
|
|
/**
|
* 报废日期
|
*/
|
public static final String scrappedDate="scrappedDate";
|
|
/**
|
*设备id
|
*/
|
public static final String snId="snId";
|
|
/**
|
* 同步时间
|
*/
|
public static final String updateTime="update_time";
|
|
/**
|
* 是否同步
|
*/
|
public static final String isSynchron="is_synchron";
|
|
/**
|
* 设备所在机构id
|
*/
|
private static final String deviceCompanyId="device_company_id";
|
}
|
|
// 设备主键
|
private String deviceId;
|
// 设备所属公司
|
private String companyId;
|
// 设备名称
|
private String deviceName;
|
// 设备类型
|
private String type;
|
// 设备地址
|
private String address;
|
// 学校名称
|
private String schoolName;
|
// 品牌
|
private String brandId;
|
// IP
|
private String ip;
|
// 端口
|
private String port;
|
// 分辨率
|
private String resolutionId;
|
// 用户名
|
private String username;
|
// 密码
|
private String password;
|
// 通讯协议
|
private String protocolId;
|
// 序列号
|
private String sn;
|
// 所属设备id
|
private String belongId;
|
|
/**
|
* 负责人
|
*/
|
private String principal;
|
|
/**
|
* 安装时间
|
*/
|
private String installTime;
|
|
/**
|
* 安装公司
|
*/
|
private String installCompany;
|
|
/**
|
* 生产厂家
|
*/
|
private String manufacturer;
|
|
/**
|
* 生产日期
|
*/
|
private String productionDate;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
/**
|
* 报废日期
|
*/
|
private String scrappedDate;
|
|
/**
|
* 设备id
|
|
*/
|
private String snId;
|
|
private String installAdress;
|
|
//同步时间
|
private String updateTime;
|
|
//是否同步
|
private String isSynchron;
|
|
//设备所在机构id
|
private String deviceCompanyId;
|
|
public void setPrincipal(String principal) {
|
this.principal = principal;
|
}
|
|
public void setInstallTime(String installTime) {
|
this.installTime = installTime;
|
}
|
|
public void setInstallCompany(String installCompany) {
|
this.installCompany = installCompany;
|
}
|
|
public void setManufacturer(String manufacturer) {
|
this.manufacturer = manufacturer;
|
}
|
|
public void setProductionDate(String productionDate) {
|
this.productionDate = productionDate;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public void setScrappedDate(String scrappedDate) {
|
this.scrappedDate = scrappedDate;
|
}
|
|
public void setSnId(String snId) {
|
this.snId = snId;
|
}
|
|
public String getDeviceCompanyId() {
|
return deviceCompanyId;
|
}
|
|
public void setDeviceCompanyId(String deviceCompanyId) {
|
this.deviceCompanyId = deviceCompanyId;
|
}
|
|
|
public String getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(String updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getIsSynchron() {
|
return isSynchron;
|
}
|
|
public void setIsSynchron(String isSynchron) {
|
this.isSynchron = isSynchron;
|
}
|
|
|
public String getPrincipal() {
|
return principal;
|
}
|
|
public String getInstallTime() {
|
return installTime;
|
}
|
|
public String getInstallCompany() {
|
return installCompany;
|
}
|
|
public String getManufacturer() {
|
return manufacturer;
|
}
|
|
public String getProductionDate() {
|
return productionDate;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public String getScrappedDate() {
|
return scrappedDate;
|
}
|
|
public String getSnId() {
|
return snId;
|
}
|
|
/**
|
* Get 设备主键
|
*/
|
public String getDeviceId() {
|
return deviceId;
|
}
|
|
/**
|
* Set 设备主键
|
*/
|
public void setDeviceId(String deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
/**
|
* Get 设备所属公司
|
*/
|
public String getCompanyId() {
|
return companyId;
|
}
|
|
/**
|
* Set 设备所属公司
|
*/
|
public void setCompanyId(String companyId) {
|
this.companyId = companyId;
|
}
|
|
/**
|
* Get 设备名称
|
*/
|
public String getDeviceName() {
|
return deviceName;
|
}
|
|
/**
|
* Set 设备名称
|
*/
|
public void setDeviceName(String deviceName) {
|
this.deviceName = deviceName;
|
}
|
|
/**
|
* Get 设备类型
|
* :camera1, camera2, main_device
|
*/
|
public String getType() {
|
return type;
|
}
|
|
/**
|
* Set 设备类型
|
* :camera1, camera2, main_device
|
*/
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
/**
|
* Get 设备地址
|
*/
|
public String getAddress() {
|
return address;
|
}
|
|
/**
|
* Set 设备地址
|
*/
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
/**
|
* Get 学校名称
|
*/
|
public String getSchoolName() {
|
return schoolName;
|
}
|
|
/**
|
* Set 学校名称
|
*/
|
public void setSchoolName(String schoolName) {
|
this.schoolName = schoolName;
|
}
|
|
/**
|
* Get 品牌
|
*/
|
public String getBrandId() {
|
return brandId;
|
}
|
|
/**
|
* Set 品牌
|
*/
|
public void setBrandId(String brandId) {
|
this.brandId = brandId;
|
}
|
|
/**
|
* Get IP
|
*/
|
public String getIp() {
|
return ip;
|
}
|
|
/**
|
* Set IP
|
*/
|
public void setIp(String ip) {
|
this.ip = ip;
|
}
|
|
/**
|
* Get 端口
|
*/
|
public String getPort() {
|
return port;
|
}
|
|
/**
|
* Set 端口
|
*/
|
public void setPort(String port) {
|
this.port = port;
|
}
|
|
/**
|
* Get 分辨率
|
*/
|
public String getResolutionId() {
|
return resolutionId;
|
}
|
|
/**
|
* Set 分辨率
|
*/
|
public void setResolutionId(String resolutionId) {
|
this.resolutionId = resolutionId;
|
}
|
|
/**
|
* Get 用户名
|
*/
|
public String getUsername() {
|
return username;
|
}
|
|
/**
|
* Set 用户名
|
*/
|
public void setUsername(String username) {
|
this.username = username;
|
}
|
|
/**
|
* Get 密码
|
*/
|
public String getPassword() {
|
return password;
|
}
|
|
/**
|
* Set 密码
|
*/
|
public void setPassword(String password) {
|
this.password = password;
|
}
|
|
/**
|
* Get 通讯协议
|
*/
|
public String getProtocolId() {
|
return protocolId;
|
}
|
|
/**
|
* Set 通讯协议
|
*/
|
public void setProtocolId(String protocolId) {
|
this.protocolId = protocolId;
|
}
|
|
/**
|
* Get 序列号
|
*/
|
public String getSn() {
|
return sn;
|
}
|
|
/**
|
* Set 序列号
|
*/
|
public void setSn(String sn) {
|
this.sn = sn;
|
}
|
|
/**
|
* Get 所属设备id
|
*/
|
public String getBelongId() {
|
return belongId;
|
}
|
|
public String getInstallAdress() {
|
return installAdress;
|
}
|
|
public void setInstallAdress(String installAdress) {
|
this.installAdress = installAdress;
|
}
|
|
/**
|
* Set 所属设备id
|
*/
|
public void setBelongId(String belongId) {
|
this.belongId = belongId;
|
}
|
|
public String toString() {
|
return
|
",设备主键 =" + deviceId + ",设备所属公司 ="+ companyId + ",设备名称 =" + deviceName +
|
",设备类型 =" + type + ",设备地址 =" + address + ",学校名称 =" + schoolName +
|
",品牌 =" + brandId + ",IP =" + ip + ",端口 =" + port +
|
",分辨率 =" + resolutionId + ",用户名 =" + username + ",密码 =" + password +
|
",通讯协议 =" + protocolId + ",序列号 =" + sn + ",所属设备id ="+ belongId
|
;
|
}
|
}
|