package com.seer.teach.user.admin.response;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.Date;

@Getter
@Setter
public class PermissionSyncLogResp {

    @Schema(description = "服务名称")
    private String serviceName;

    @Schema(description = "同步完成时间")
    private LocalDateTime syncTime;

    @Schema(description = "同步耗时(毫秒)")
    private Integer durationMs;

    @Schema(description = "新增权限点数量")
    private Integer addedCount;

    @Schema(description = "新增权限点明细(JSON数组)")
    private String addedPermissions;

    @Schema(description = "删除权限点数量")
    private Integer deletedCount;

    @Schema(description = "删除权限点明细(JSON数组)")
    private String deletedPermissions;

    @Schema(description = "更新权限点数量")
    private Integer updatedCount;

    @Schema(description = "更新权限点明细(JSON数组)")
    private String updatedPermissions;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改人
     */
    private String updateBy;
}
