Street.java
1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package cn.com.glsx.entmicro.request.example;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* @Title: Street.java
* @Description: 街道信息参数示例
* @author Alvin
* @date 2020年11月12日 下午3:08:28
* @version V2.0
* @Company: didihu.com.cn
* @Copyright Copyright (c) 2020
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "street")
public class Street {
@XmlAttribute
private String no;
@XmlAttribute
private String name;
public String getNo() {
return no;
}
public void setNo(String no) {
this.no = no;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String toString()
{
return ToStringBuilder.reflectionToString(this);
}
}