Skip to content

peacetrue/peacetrue-dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

概述

GitHub Workflow Status Snyk Foresight Codecov peacetrue-dictionary

简介(What)

peacetrue-dictionary 是一个数据字典模块,包含字典类型和字典项值。

背景(Why)

数据字典用于表示现实世界中的类型概念, 比如性别包括男、女,性别为字典类型,男、女为字典项值。 数据字典在各个系统中都会使用到,所以将其实现为一个单独模块以便复用。

用法(How)

在基于 Spring Boot 的项目中,引用如下依赖:

// 命令式编程
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-api-imperative:1.0.0-SNAPSHOT"
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-impl-imperative:1.0.0-SNAPSHOT"
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-controller-imperative:1.0.0-SNAPSHOT"
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-client-imperative:1.0.0-SNAPSHOT"

// 响应式编程
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-api-reactive:1.0.0-SNAPSHOT"
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-impl-reactive:1.0.0-SNAPSHOT"
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-controller-reactive:1.0.0-SNAPSHOT"
implementation "com.github.peacetrue.dictionary:peacetrue-dictionary-client-reactive:1.0.0-SNAPSHOT"

在基于 React Admin 的项目中,安装如下依赖:

npm install @peace/dictionary-react-admin@0.0.0-1

参与者(Who)

活动(When)

初始提交于 2022-10-20,最近提交于 2024-12-29。

许可证(License)

Releases

No releases published

Packages

No packages published