增加了Marker对应类型的北京填充
This commit is contained in:
@@ -2,23 +2,25 @@
|
||||
package com.mogo.module.common.entity;
|
||||
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Calendar;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class MarkerUserInfo implements Serializable {
|
||||
|
||||
|
||||
|
||||
private int age;
|
||||
|
||||
|
||||
private String gender;
|
||||
|
||||
|
||||
private String sn;
|
||||
|
||||
|
||||
private String userHead;
|
||||
|
||||
|
||||
private Long userId;
|
||||
|
||||
|
||||
private String userName;
|
||||
|
||||
public String getAge() {
|
||||
@@ -75,6 +77,17 @@ public class MarkerUserInfo implements Serializable {
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
public int getGenderValue() {
|
||||
if (!TextUtils.isEmpty(gender)) {
|
||||
if ("男".equals(gender)) {
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
public String getGender() {
|
||||
return gender;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user