View Javadoc
1   package org.oxerr.youzan.dto.item;
2   
3   import java.io.Serializable;
4   
5   import com.fasterxml.jackson.annotation.JsonProperty;
6   
7   /**
8    * <a href="http://open.youzan.com/structparam?struct=TradeBuyerMessage">
9    * 交易明细中买家留言的数据结构</a>.
10   */
11  public class TradeBuyerMessage implements Serializable {
12  
13  	private static final long serialVersionUID = 2016062001L;
14  
15  	/**
16  	 * 留言的标题
17  	 */
18  	private String title;
19  
20  	/**
21  	 * 留言的内容
22  	 */
23  	private String content;
24  
25  	public TradeBuyerMessage() {
26  	}
27  
28  	public TradeBuyerMessage(
29  		@JsonProperty("title") String title,
30  		@JsonProperty("content") String content
31  	) {
32  		this.title = title;
33  		this.content = content;
34  	}
35  
36  	public String getTitle() {
37  		return title;
38  	}
39  
40  	public void setTitle(String title) {
41  		this.title = title;
42  	}
43  
44  	public String getContent() {
45  		return content;
46  	}
47  
48  	public void setContent(String content) {
49  		this.content = content;
50  	}
51  
52  }