All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mizhousoft.commons.web.request.EntityListRequest Maven / Gradle / Ivy

The newest version!
package com.mizhousoft.commons.web.request;

import java.util.Set;

/**
 * 请求
 *
 * @version
 */
public class EntityListRequest
{
	/**
	 * ID
	 */
	protected Set ids;

	/**
	 * 获取ids
	 * 
	 * @return
	 */
	public Set getIds()
	{
		return ids;
	}

	/**
	 * 设置ids
	 * 
	 * @param ids
	 */
	public void setIds(Set ids)
	{
		this.ids = ids;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString()
	{
		StringBuilder builder = new StringBuilder();
		builder.append("{\"");
		if (ids != null)
		{
			builder.append("ids\":\"");
			builder.append(ids);
		}
		builder.append("\"}");
		return builder.toString();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy