All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.houkunlin.system.dict.starter.properties.DictPropertiesStorePrefixKey Maven / Gradle / Ivy

Go to download

系统数据字典自动翻译成字典文本。可集合系统数据库中存储的用户数据字典,也可使用枚举做系统数据字典,主要用在返回数据给前端时自动把字典值翻译成字典文本信息; The system data dictionary is automatically translated into dictionary text. The user data dictionary stored in the system database can be aggregated, and the enumeration can also be used as the system data dictionary. It is mainly used to automatically translate dictionary values into dictionary text information when returning data to the front end.

The newest version!
package com.houkunlin.system.dict.starter.properties;

import lombok.*;

import static com.houkunlin.system.dict.starter.DictUtil.*;

/**
 * 缓存存储键前缀
 *
 * @author HouKunLin
 * @since 1.4.7
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@AllArgsConstructor
public class DictPropertiesStorePrefixKey {
    /**
     * 字典类型前缀,涵盖所有的字典类型(普通字典(手动维护类型的)和系统字典)
     */
    private String typePrefix = TYPE_PREFIX;
    /**
     * 系统字典类型前缀,单独存储一份,以便给有需要单独读取系统字典类型使用
     * @since 1.5.0
     */
    private String typeSystemPrefix = TYPE_SYSTEM_PREFIX;
    /**
     * 字典值前缀
     */
    private String valuePrefix = VALUE_PREFIX;
    /**
     * 树结构父级字典值前缀
     */
    private String parentPrefix = PARENT_PREFIX;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy