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

org.swiftboot.web.command.IdListCommand Maven / Gradle / Ivy

There is a newer version: 2.4.7
Show newest version
package org.swiftboot.web.command;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 业务对象 ID 列表
 *
 * @author swiftech
 */
@ApiModel
public class IdListCommand extends HttpCommand {

    /**
     * 业务对象ID列表
     */
    @ApiModelProperty("List of business object ID")
    @JsonProperty("ids")
    @NotEmpty
    private List<@NotBlank @Length(min = 32, max = 32) String> ids;

    public List getIds() {
        return ids;
    }

    public void setIds(List ids) {
        this.ids = ids;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy