package com.zt.plat.module.qms.business.config.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Schema(description = "管理后台 - 权限配置,通用权限配置新增/修改 Request VO")
@Data
public class ConfigPermissionSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16806")
    private Long id;

    @Schema(description = "主数据id", example = "31572")
    private Long sourceId;

    @Schema(description = "主数据类型", example = "1")
    private String sourceType;

    @Schema(description = "关联id", example = "20071")
    private Long targetId;

    @Schema(description = "关联name", example = "1")
    private String targetName;

    @Schema(description = "关联数据类型", example = "1")
    private String targetType;

    @Schema(description = "权限类型", example = "2")
    private String permissionType;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

}