package com.mercury.chat.client.impl;

import java.io.Serializable;

import com.mercury.chat.common.QuickReply;

public class QuickReplyRequest implements Serializable{
	
	private static final long serialVersionUID = 1845589560505930462L;
	
	private long saleId;
	
	private QuickReply quickReply;

	public long getSaleId() {
		return saleId;
	}

	public void setSaleId(long saleId) {
		this.saleId = saleId;
	}

	public QuickReply getQuickReply() {
		return quickReply;
	}

	public void setQuickReply(QuickReply quickReply) {
		this.quickReply = quickReply;
	}
	
	
	
}

@@ -266,24 +266,53 @@
 saleId;%0D%0A%09%0D%0A
+%09private byte operation;%0D%0A%09%0D%0A
 %09private Qui
@@ -346,26 +346,71 @@
 lic 
-long getSaleId() %7B
+QuickReplyRequest saleId(long saleId)%7B%0D%0A%09%09this.saleId = saleId;
 %0D%0A%09%09
@@ -416,29 +416,28 @@
 %09return 
-saleId
+this
 ;%0D%0A%09%7D%0D%0A
+%09
 %0D%0A%09publi
@@ -442,68 +442,106 @@
 lic 
-void setSaleId(long saleId) %7B%0D%0A%09%09this.saleId = saleId
+QuickReplyRequest operation(byte operation)%7B%0D%0A%09%09this.operation = operation;%0D%0A%09%09return this
 ;%0D%0A%09%7D%0D%0A
+%09
 %0D%0A%09p
@@ -560,13 +560,17 @@
 eply
- getQ
+Request q
 uick
@@ -579,68 +579,206 @@
 ply(
-) %7B%0D%0A%09%09return quickReply;%0D%0A%09%7D%0D%0A%0D%0A%09public void setQuickReply(
+QuickReply quickReply)%7B%0D%0A%09%09this.quickReply = quickReply;%0D%0A%09%09return this;%0D%0A%09%7D%0D%0A%0D%0A%09public long getSaleId() %7B%0D%0A%09%09return saleId;%0D%0A%09%7D%0D%0A%0D%0A%09public byte getOperation() %7B%0D%0A%09%09return operation;%0D%0A%09%7D%0D%0A%0D%0A%09public 
 Quic
@@ -776,33 +776,36 @@
 blic QuickReply 
-q
+getQ
 uickReply) %7B%0D%0A%09%09
@@ -801,32 +801,22 @@
 eply
+(
 ) %7B%0D%0A%09%09
-this.quickReply =
+return
  qui
@@ -832,17 +832,11 @@
 %0A%09%7D%0D%0A%09%0D%0A
-%09%0D%0A%09%0D%0A
 %7D%0D%0A

add operation to reply request.