package cn.com.basic.face.discern.entity;
|
|
import java.io.Serializable;
|
|
import cn.com.basic.face.discern.common.BaseEntity;
|
|
/**
|
* Post
|
*/
|
public class Post extends BaseEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODEL_NAME = "Post";
|
|
public static final class FieldNames {
|
/**
|
* 职位主键
|
*/
|
public static final String postId = "postId";
|
/**
|
* 职位名称
|
*/
|
public static final String postName = "postName";
|
|
/**
|
* 同步时间
|
*/
|
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 postId;
|
// 职位名称
|
private String postName;
|
|
//同步时间
|
private String updateTime;
|
|
//是否同步
|
private String isSynchron;
|
|
|
//设备所在机构id
|
private String deviceCompanyId;
|
|
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;
|
}
|
|
|
/**
|
* Get 职位主键
|
*/
|
public String getPostId() {
|
return postId;
|
}
|
|
/**
|
* Set 职位主键
|
*/
|
public void setPostId(String postId) {
|
this.postId = postId;
|
}
|
|
/**
|
* Get 职位名称
|
*/
|
public String getPostName() {
|
return postName;
|
}
|
|
/**
|
* Set 职位名称
|
*/
|
public void setPostName(String postName) {
|
this.postName = postName;
|
}
|
|
public String toString() {
|
return
|
",职位主键 =" + postId + ",职位名称 =" + postName ;
|
}
|
}
|