package com.yunzhupaas.permission.model.role;

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

import jakarta.validation.constraints.NotNull;
import java.util.List;
import java.util.Map;

/**
 *
 * @author 云筑产品开发平台组
 * @version V3.1.0
 * @copyright 深圳市乐程软件有限公司
 * @date 2024/3/12 15:31
 */
@Data
public class RoleCrForm {
    @NotBlank(message = "必填")
    @Schema(description = "角色名称")
    private String fullName;
    @NotBlank(message = "必填")
    @Schema(description = "角色编号")
    private String enCode;
    @NotNull(message = "必填")
    @Schema(description = "组织id集合")
    private List<List<String>> organizeIdsTree;
    @Schema(description = "是否全局(1:是，0:否)")
    private Integer globalMark;
    @NotNull(message = "必填")
    @Schema(description = "状态")
    private int enabledMark;
    private String description;
    @Schema(description = "排序")
    private long sortCode;
}

