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

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

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 权限配置,通用权限配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ConfigPermissionRespVO {

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

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

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

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

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

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

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

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

}