package com.tykj.dev.device.matching.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 MatchingRepairVo {

    @NotNull(message = "deviceId不能为空")
    @ApiModelProperty(name = "配套设备id")
    private Integer deviceId;

    @ApiModelProperty(name = "维修描述")
    private String remark;

    @NotNull(message = "fileName不能为空")
    @ApiModelProperty(name = "维修单名字")
    private String fileName;

    @NotNull(message = "fileUrl不能为空")
    @ApiModelProperty(name = "维修单URL")
    private String fileUrl;
}
