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

org.swiftboot.web.command.IdCommand 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;

/**
 * 只包含单个业务 ID
 *
 * @author swiftech
 */
@ApiModel
public class IdCommand extends HttpCommand {

    /**
     * 业务对象ID
     */
    @ApiModelProperty("Business object ID")
    @JsonProperty("id")
    @NotBlank
    @Length(min = 32, max = 32)
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy