package cn.com.basic.face.discern.entity;
|
|
import java.io.Serializable;
|
|
import cn.com.basic.face.discern.common.BaseEntity;
|
|
/**
|
* Place
|
*/
|
public class Place extends BaseEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODEL_NAME = "Place";
|
|
public static final class FieldNames {
|
/**
|
* 设备主键
|
*/
|
public static final String id = "id";
|
/**
|
* 公司主键
|
*/
|
public static final String companyId = "companyId";
|
/**
|
* 设备地点
|
*/
|
public static final String label = "label";
|
/**
|
* 设备授权码
|
*/
|
public static final String authorizationId = "authorizationId";
|
}
|
|
// 设备主键
|
private Integer id;
|
// 公司主键
|
private Integer companyId;
|
// 设备地点
|
private String label;
|
// 设备授权码
|
private String authorizationId;
|
|
/**
|
* Get 设备主键
|
*/
|
public Integer getId() {
|
return id;
|
}
|
|
/**
|
* Set 设备主键
|
*/
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
/**
|
* Get 公司主键
|
*/
|
public Integer getCompanyId() {
|
return companyId;
|
}
|
|
/**
|
* Set 公司主键
|
*/
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
/**
|
* Get 设备地点
|
*/
|
public String getLabel() {
|
return label;
|
}
|
|
/**
|
* Set 设备地点
|
*/
|
public void setLabel(String label) {
|
this.label = label;
|
}
|
|
/**
|
* Get 设备授权码
|
*/
|
public String getAuthorizationId() {
|
return authorizationId;
|
}
|
|
/**
|
* Set 设备授权码
|
*/
|
public void setAuthorizationId(String authorizationId) {
|
this.authorizationId = authorizationId;
|
}
|
|
public String toString() {
|
return
|
",设备主键 =" + id + ",公司主键 =" + companyId + ",设备地点 =" + label +
|
",设备授权码 ="+ authorizationId;
|
}
|
}
|