package com.zt.plat.module.base.controller.admin.templtp.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import groovyjarjarantlr4.v4.runtime.misc.NotNull;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.NonNull;


import java.util.List;

@Schema(description = "管理后台 - 模板编辑字段新增/删除 Request VO")
@Data
public class TmplTpEditOrDeleteReqVO {

    @Schema(description = "模版ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20895")
    @NotEmpty(message = "模版id不能为空")
    private String tpId;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "create or delete")
    @NotEmpty(message = "操作类型不能为空")
    private String type;

    @Schema(description = "变更的ids", requiredMode = Schema.RequiredMode.REQUIRED, example = "[20895,23231]")
    @NotEmpty(message = "变更的ids不能为空")
    private List<String> ids;
}
