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

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

import javax.validation.constraints.NotNull;

/**
 * @author dengdiyi
 */
@Data
@ApiModel("配件存储类")
public class PartSaveVo {

    @NotNull(message = "配件model不能为空")
    @ApiModelProperty(value = "型号", example = "测试型号")
    private String model;

    @NotNull(message = "配件name不能为空")
    @ApiModelProperty(value = "名称", example = "测试名称")
    private String name;

    @NotNull(message = "配件type不能为空")
    @ApiModelProperty(value = "类型", example = "1")
    private Integer type;

}
