
org.swiftboot.web.command.IdCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swiftboot-web Show documentation
Show all versions of swiftboot-web Show documentation
Basic module for enterprise web applications
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