IdQuery.java
package com.foxinmy.weixin4j.type;
import java.io.Serializable;
/**
 * ID查询
 * 
 * @className IdQuery
 * @author jinyu(foxinmy@gmail.com)
 * @date 2014年11月1日
 * @since JDK 1.6
 * @see
 * @deprecated 迁移到子模块weixin4j-pay
 */
@Deprecated
public class IdQuery implements Serializable {
	private static final long serialVersionUID = -5273675987521807370L;
	/**
	 * id值
	 */
	private String id;
	/**
	 * id类型
	 * 
	 * @see com.foxinmy.weixin4j.type.IdType
	 */
	private IdType type;
	public IdQuery(String id, IdType idType) {
		this.id = id;
		this.type = idType;
	}
	public String getId() {
		return id;
	}
	public IdType getType() {
		return type;
	}
	@Override
	public String toString() {
		return String.format("%s=%s", type.getName(), id);
	}
}