package com.gxwebsoft.ai.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * 领导班子名单常量类
 */
public class AuditContent1LeaderListConstants {
    
    // 领导职位分类
    public static final String CATEGORY_PARTY_LEADERS = "党组织领导班子";
    public static final String CATEGORY_ADMIN_LEADERS = "行政领导班子";
    public static final String CATEGORY_DEPARTMENT_LEADERS = "部门负责人";
    
    // 分类描述
    public static final Map<String, String> CATEGORY_DESCRIPTIONS = new HashMap<>();
    static {
        CATEGORY_DESCRIPTIONS.put(CATEGORY_PARTY_LEADERS, "党组织领导班子成员信息");
        CATEGORY_DESCRIPTIONS.put(CATEGORY_ADMIN_LEADERS, "行政领导班子成员信息");
        CATEGORY_DESCRIPTIONS.put(CATEGORY_DEPARTMENT_LEADERS, "各部门负责人信息");
    }
    
    // 数据格式要求
    public static final String DATA_FORMAT_REQUIREMENT = 
        "每条记录应包含以下字段：\n" +
        "- unit：单位名称\n" +
        "- name：姓名\n" +
        "- department：所在部门\n" +
        "- partyPosition：党内职务\n" +
        "- adminPosition：行政职务\n" +
        "- tenurePeriod：任职期间（格式：YYYY.MM-YYYY.MM）\n" +
        "- mainResponsibilities：主要工作责任\n" +
        "- remark：备注信息\n" +
//        "- workPaperIndex：[相关文件FileId]";
        "- workPaperIndex：[\"实际存在的完整文件名1||FileUrl1\"]";
    
    // 关键词权重
    public static final Map<String, Integer> KEYWORD_WEIGHTS = new HashMap<>();
    static {
        KEYWORD_WEIGHTS.put("领导班子", 10);
        KEYWORD_WEIGHTS.put("领导成员", 9);
        KEYWORD_WEIGHTS.put("任职", 8);
        KEYWORD_WEIGHTS.put("职务", 8);
        KEYWORD_WEIGHTS.put("职责", 7);
        KEYWORD_WEIGHTS.put("分工", 7);
        KEYWORD_WEIGHTS.put("党组", 9);
        KEYWORD_WEIGHTS.put("党委", 9);
        KEYWORD_WEIGHTS.put("支部书记", 8);
        KEYWORD_WEIGHTS.put("局长", 8);
        KEYWORD_WEIGHTS.put("处长", 7);
        KEYWORD_WEIGHTS.put("科长", 7);
    }
    
    private AuditContent1LeaderListConstants() {
        // 防止实例化
    }
}