代码拉取完成,页面将自动刷新
package com.wmx.wmxredis.properties;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* @author wangMaoXiong
* Created by Administrator on 2018/7/11 0011.
* <p>
* 用户···实体
*/
public class PersonProperties {
private Integer id;
/**
* 如果 lastName 属性名称改为"name"时,注入的时候会强制变成计算机名称,而导致自己的值无法注入(原因未知)
*/
private String lastName;
private Integer age = 18;
private Date birthday;
private List<String> colorList;
private Map<String, String> cityMap;
/**
* 关联的 Dog 对象
*/
private Dog dog;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public List<String> getColorList() {
return colorList;
}
public void setColorList(List<String> colorList) {
this.colorList = colorList;
}
public Map<String, String> getCityMap() {
return cityMap;
}
public void setCityMap(Map<String, String> cityMap) {
this.cityMap = cityMap;
}
public Dog getDog() {
return dog;
}
public void setDog(Dog dog) {
this.dog = dog;
}
@Override
public String toString() {
return "PersonProperties{" +
"id=" + id +
", lastName='" + lastName + '\'' +
", age=" + age +
", birthday=" + birthday +
", colorList=" + colorList +
", cityMap=" + cityMap +
", dog=" + dog +
'}';
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。