package com.tykj.dev.device.packing.subject.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotNull;

/**
 * @author dengdiyi
 */
@Repository
@Data
@ApiModel("添加列装型号类")
public class AddModel {

    @NotNull(message = "model不能为Null")
    @ApiModelProperty(value = "型号")
    private String model;

    @ApiModelProperty(value = "密级")
    private Integer secretLevel;

    @NotNull(message = "invisibleRange不能为Null")
    @ApiModelProperty(value = "可见范围")
    private Integer invisibleRange;

    @NotNull(message = "status不能为Null")
    @ApiModelProperty(value = "列装状态")
    private Integer status;

//    @NotNull(message = "showOrder不能为Null")
    @ApiModelProperty(value = "排序号")
    private Integer showOrder;
}
