package com.chushang.inspection.work.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ImageDTO implements Serializable {

    @NotNull(message = "图片类型不能为空")
    @Range(min = 1, max = 30, message = "非法的图片类型")
    private Integer imgType;

    @NotNull(message = "工单id不能为空")
    private Long wrkId;
}
