File was renamed from VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Person.java |
| | |
| | | import cn.com.basic.face.discern.common.BaseEntity;
|
| | |
|
| | | /**
|
| | | * Person
|
| | | * Register
|
| | | */
|
| | | public class Person extends BaseEntity implements Serializable {
|
| | | public class Register extends BaseEntity implements Serializable {
|
| | |
|
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | | public static final String MODEL_NAME = "Person";
|
| | | public static final String MODEL_NAME = "Register";
|
| | |
|
| | | public static final class FieldNames {
|
| | | /**
|
| | | * 人员主键
|
| | | */
|
| | | public static final String id = "id";
|
| | | public static final String registerId = "registerId";
|
| | | /**
|
| | | * 人员名字
|
| | | */
|
| | | public static final String name = "name";
|
| | | public static final String username = "username";
|
| | | /**
|
| | | * 人员名首字母
|
| | | */
|
| | |
| | | /**
|
| | | * 性别
|
| | | */
|
| | | public static final String gender = "gender";
|
| | | public static final String genderId = "genderId";
|
| | | /**
|
| | | * 国籍
|
| | | */
|
| | | public static final String country = "country";
|
| | | public static final String countryId = "countryId";
|
| | | /**
|
| | | * 省
|
| | | */
|
| | |
| | | /**
|
| | | * 座机电话
|
| | | */
|
| | | public static final String phone = "phone";
|
| | | public static final String tel = "tel";
|
| | | /**
|
| | | * 移动电话
|
| | | */
|
| | |
| | | /**
|
| | | * 证件类型
|
| | | */
|
| | | public static final String identityType = "identityType";
|
| | | public static final String identityTypeId = "identityTypeId";
|
| | | /**
|
| | | * 证件编号
|
| | | */
|
| | | public static final String identify = "identify";
|
| | | public static final String identifyNum = "identifyNum";
|
| | | /**
|
| | | * 公司主键
|
| | | */
|
| | |
| | | }
|
| | |
|
| | | // 人员主键
|
| | | private String id;
|
| | | private String registerId;
|
| | | // 人员名字
|
| | | private String name;
|
| | | private String username;
|
| | | // 人员名首字母
|
| | | private String nameSpell;
|
| | | // 性别
|
| | | private String gender;
|
| | | private String genderId;
|
| | | // 国籍
|
| | | private String country;
|
| | | private String countryId;
|
| | | // 省
|
| | | private String province;
|
| | | // 市
|
| | |
| | | // 出生日期
|
| | | private String birthday;
|
| | | // 座机电话
|
| | | private String phone;
|
| | | private String tel;
|
| | | // 移动电话
|
| | | private String mobilePhone;
|
| | | // 证件类型
|
| | | private String identityType;
|
| | | private String identityTypeId;
|
| | | // 证件编号
|
| | | private String identify;
|
| | | private String identifyNum;
|
| | | // 公司主键
|
| | | private String companyId;
|
| | | // 部门主键
|
| | |
| | | /**
|
| | | * Get 人员主键
|
| | | */
|
| | | public String getId() {
|
| | | return id;
|
| | | public String getRegisterId() {
|
| | | return registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员主键
|
| | | */
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | public void setRegisterId(String registerId) {
|
| | | this.registerId = registerId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 人员名字
|
| | | */
|
| | | public String getName() {
|
| | | return name;
|
| | | public String getUsername() {
|
| | | return username;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 人员名字
|
| | | */
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | public void setUsername(String username) {
|
| | | this.username = username;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | /**
|
| | | * Get 性别
|
| | | */
|
| | | public String getGender() {
|
| | | return gender;
|
| | | public String getGenderId() {
|
| | | return genderId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 性别
|
| | | */
|
| | | public void setGender(String gender) {
|
| | | this.gender = gender;
|
| | | public void setGenderId(String genderId) {
|
| | | this.genderId = genderId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 国籍
|
| | | */
|
| | | public String getCountry() {
|
| | | return country;
|
| | | public String getCountryId() {
|
| | | return countryId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 国籍
|
| | | */
|
| | | public void setCountry(String country) {
|
| | | this.country = country;
|
| | | public void setCountryId(String countryId) {
|
| | | this.countryId = countryId;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | /**
|
| | | * Get 座机电话
|
| | | */
|
| | | public String getPhone() {
|
| | | return phone;
|
| | | public String getTel() {
|
| | | return tel;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 座机电话
|
| | | */
|
| | | public void setPhone(String phone) {
|
| | | this.phone = phone;
|
| | | public void setTel(String tel) {
|
| | | this.tel = tel;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | | /**
|
| | | * Get 证件类型
|
| | | */
|
| | | public String getIdentityType() {
|
| | | return identityType;
|
| | | public String getIdentityTypeId() {
|
| | | return identityTypeId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 证件类型
|
| | | */
|
| | | public void setIdentityType(String identityType) {
|
| | | this.identityType = identityType;
|
| | | public void setIdentityTypeId(String identityTypeId) {
|
| | | this.identityTypeId = identityTypeId;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Get 证件编号
|
| | | */
|
| | | public String getIdentify() {
|
| | | return identify;
|
| | | public String getIdentifyNum() {
|
| | | return identifyNum;
|
| | | }
|
| | |
|
| | | /**
|
| | | * Set 证件编号
|
| | | */
|
| | | public void setIdentify(String identify) {
|
| | | this.identify = identify;
|
| | | public void setIdentifyNum(String identifyNum) {
|
| | | this.identifyNum = identifyNum;
|
| | | }
|
| | |
|
| | | /**
|
| | |
| | |
|
| | | public String toString() {
|
| | | return
|
| | | ",人员主键 =" + id + ",人员名字 =" + name + ",人员名首字母 ="+ nameSpell + |
| | | ",性别 =" + gender + ",国籍 =" + country + ",省 =" + province + |
| | | ",市 =" + city + ",出生日期 =" + birthday + ",座机电话 =" + phone + |
| | | ",移动电话 =" + mobilePhone + ",证件类型 =" + identityType + ",证件编号 =" + identify + |
| | | ",人员主键 =" + registerId + ",人员名字 =" + username + ",人员名首字母 ="+ nameSpell + |
| | | ",性别 =" + genderId + ",国籍 =" + countryId + ",省 =" + province + |
| | | ",市 =" + city + ",出生日期 =" + birthday + ",座机电话 =" + tel + |
| | | ",移动电话 =" + mobilePhone + ",证件类型 =" + identityTypeId + ",证件编号 =" + identifyNum + |
| | | ",公司主键 =" + companyId + ",部门主键 =" + departmentId + ",职务主键 =" + postId +
|
| | | ",人员备注消息 ="+ remark + ",危险人员警告消息 ="+ warning ;
|
| | | }
|