package org.agt.module.license.enums;

/**
 * System 操作日志枚举
 * 目的：统一管理，也减少 Service 里各种“复杂”字符串
 *
 * @author 千通源码
 */
public interface LogRecordConstants {

    // ======================= SYSTEM_CUSTOMER 客户 =======================
    String SYSTEM_CUSTOMER_TYPE = "客户管理";
    String SYSTEM_CUSTOMER_CREATE_SUB_TYPE = "新增客户";
    String SYSTEM_CUSTOMER_CREATE_SUCCESS = "新增了客户【{{#customer.name}}】";
    String SYSTEM_CUSTOMER_UPDATE_SUB_TYPE = "修改客户";
    String SYSTEM_CUSTOMER_UPDATE_SUCCESS = "修改了客户【{{#customer.name}}】: {_DIFF{#updateReqVO}}";
    String SYSTEM_CUSTOMER_DELETE_SUB_TYPE = "删除客户";
    String SYSTEM_CUSTOMER_DELETE_SUCCESS = "删除了客户【{{#customer.name}}】";
    
    // ======================= SYSTEM_PROJECT 项目 =======================
    String SYSTEM_PROJECT_TYPE = "项目管理";
    String SYSTEM_PROJECT_CREATE_SUB_TYPE = "新增项目";
    String SYSTEM_PROJECT_CREATE_SUCCESS = "新增了项目【{{#project.name}}】";
    String SYSTEM_PROJECT_UPDATE_SUB_TYPE = "修改项目";
    String SYSTEM_PROJECT_UPDATE_SUCCESS = "修改了项目【{{#project.name}}】: {_DIFF{#updateReqVO}}";
    String SYSTEM_PROJECT_DELETE_SUB_TYPE = "删除项目";
    String SYSTEM_PROJECT_DELETE_SUCCESS = "删除了项目【{{#project.name}}】";

    // ======================= SYSTEM_LICENSE LICENSE =======================
    String SYSTEM_LICENSE_TYPE = "License管理";
    String SYSTEM_LICENSE_CREATE_SUB_TYPE = "申请LICENSE";
    String SYSTEM_LICENSE_CREATE_SUCCESS = "申请了LICENSE【{{#license.serialNo}}】";
    String SYSTEM_LICENSE_UPDATE_SUB_TYPE = "修改LICENSE";
    String SYSTEM_LICENSE_UPDATE_SUCCESS = "修改了LICENSE【{{#license.serialNo}}】: {_DIFF{#updateReqVO}}";
    String SYSTEM_LICENSE_DELETE_SUB_TYPE = "删除LICENSE";
    String SYSTEM_LICENSE_DELETE_SUCCESS = "删除了LICENSE【{{#license.serialNo}}】";
    String SYSTEM_LICENSE_REAPPLY_SUB_TYPE = "重新申请LICENSE";
    String SYSTEM_LICENSE_REAPPLY_SUCCESS = "重新申请了LICENSE【{{#license.serialNo}}】";
    String SYSTEM_LICENSE_GENERATE_SUB_TYPE = "生成LICENSE";
    String SYSTEM_LICENSE_GENERATE_SUCCESS = "生成了LICENSE【{{#license.serialNo}}】";

}
