io.mosip.kernel.masterdata.dto.IdDto Maven / Gradle / Ivy
package io.mosip.kernel.masterdata.dto;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import io.mosip.kernel.masterdata.validator.StringFormatter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
//@ApiModel(value = "Device", description = "Device Detail resource")
public class IdDto {
@NotNull
@StringFormatter(min = 1, max = 36)
@ApiModelProperty(value = "id", required = true, dataType = "java.lang.String")
private String id;
}