package com.yuchen.saas.park.api.dto.fire.inspect;

import com.thinkunion.park.service.common.constant.GroupAction;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.support.Query;

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

/**
 * <p>
 * 巡检类型操作类
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-04-01
 */
@Data
public class FireInspectTypeSubmitReqDTO {

    @NotNull(groups = GroupAction.UpdateAction.class, message = "id不能为空")
    @Null(groups = GroupAction.InsertAction.class, message = "id必须为空")
    private Long id;
    /**
     * 巡检类型名称
     */
    @ApiModelProperty(name = "inspectTypeName", value = "巡检类型名称")
    @NotBlank(message = "巡检类型名称不能为空")
    private String inspectTypeName;
    /**
     * 巡检类型编码
     */
    @ApiModelProperty(name = "inspectTypeCode", value = "巡检类型编码")
    @NotBlank(message = "巡检类型编码不能为空")
    private String inspectTypeCode;
    /**
     * 巡检类型图片
     */
    @ApiModelProperty(name = "inspectTypeImages", value = "巡检类型图片")
    @NotBlank(message = "巡检类型图片不能为空")
    private String inspectTypeImages;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;


}
