package com.repair.model.request;

import lombok.Data;

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

/**
 * @Author: binguo
 * @Date: 2023/7/13 星期四 15:21
 * @Description: com.repair.model.request
 * @Version: 1.0
 */
@Data
public class insertRepairAssociationRequest {

    /**
     * 耗材名称
     */
    @NotBlank(message = "耗材名称不能为空")
    private String name;

    /**
     * 报修物品ID集合
     */
    @NotBlank(message = "报修物品不能为空")
    private String articleId;

    /**
     * 校区ID
     */
    @NotNull(message = "校区ID不能为空")
    private Integer schoolId;
}
