package com.cpop.oam.business.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author DB
 * @version 1.0.0
 * @since 2024-01-05 14:31
 */
@Data
@Accessors(chain = true)
@Schema(description = "ChangePlugOpenBo对象")
public class ChangePlugOpenBo {

    /**
     * 校区
     */
    @NotBlank(message = "校区不能为空")
    @Schema(description = "校区",requiredMode = Schema.RequiredMode.REQUIRED)
    private String storeId;

    /**
     * 插件
     */
    @NotBlank(message = "插件不能为空")
    @Schema(description = "插件",requiredMode = Schema.RequiredMode.REQUIRED)
    private String plugTag;

    /**
     * 开启与关闭
     */
    @NotNull(message = "开启与关闭不能为空")
    @Schema(description = "开启与关闭",requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isOpen;
}
