package cn.novalon.manage.sys.audit.dto;

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

import java.util.Map;

/**
 * 审计日志统计信息
 * 
 * @author 张翔
 * @date 2026-04-01
 */
@Schema(description = "审计日志统计信息")
public class AuditLogStatistics {

    @Schema(description = "总记录数")
    private Long totalCount;

    @Schema(description = "按实体类型统计")
    private Map<String, Long> countByEntityType;

    @Schema(description = "按操作类型统计")
    private Map<String, Long> countByOperationType;

    @Schema(description = "按操作人统计")
    private Map<String, Long> countByOperator;

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }

    public Map<String, Long> getCountByEntityType() {
        return countByEntityType;
    }

    public void setCountByEntityType(Map<String, Long> countByEntityType) {
        this.countByEntityType = countByEntityType;
    }

    public Map<String, Long> getCountByOperationType() {
        return countByOperationType;
    }

    public void setCountByOperationType(Map<String, Long> countByOperationType) {
        this.countByOperationType = countByOperationType;
    }

    public Map<String, Long> getCountByOperator() {
        return countByOperator;
    }

    public void setCountByOperator(Map<String, Long> countByOperator) {
        this.countByOperator = countByOperator;
    }
}
