package com.casic.missiles.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description: for delete/detail use
 * @Author: wangpeng
 * @Date: 2022/11/26 9:51
 */
@Data
public class IdDTO {
    @NotNull(message = "主键ID不能为空")
    @ApiModelProperty(value = "主键id", dataType = "Long", required = true)
    private Long id;
}
