From 17478c2543da775cdba799313e68cd2e7a519d9e Mon Sep 17 00:00:00 2001 From: adiao <1819192616@qq.com> Date: Sun, 9 Apr 2023 06:03:22 +0800 Subject: [PATCH] Updated files --- 项目命名/项目命名格式.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/项目命名/项目命名格式.md b/项目命名/项目命名格式.md index d2d42da..f485a46 100644 --- a/项目命名/项目命名格式.md +++ b/项目命名/项目命名格式.md @@ -53,13 +53,13 @@ MVC 分层 Controller,Service,ServiceImpl,DAO 后缀 UserManageController > 注:Prefix-前缀,Suffix-后缀,Alone-单独使用 -| 位置 | 单词 | 意义 | 例 | -|:----|:----|:----|:--------------| -| Prefix | is | 对象是否符合期待的状态 | isValid | -| Prefix | can | 对象能否执行所期待的动作 | canRemove | +| 位置 | 单词 | 意义 | 例 | +|:----|:-------|:----|:-------| +| Prefix | is | 对象是否符合期待的状态 | isValid| +| Prefix | can | 对象能否执行所期待的动作 | canRemove | | Prefix | should | 调用方执行某个命令或方法是好还是不好,应不应该,或者说推荐还是不推荐 | shouldMigrate | -| Prefix | has | 对象是否持有所期待的数据和属性 | hasObservers | -| Prefix | needs | 调用方是否需要执行某个命令或方法 | needsMigrate | +| Prefix | has | 对象是否持有所期待的数据和属性 | hasObservers | +| Prefix | needs | 调用方是否需要执行某个命令或方法 | needsMigrate | ##### 4.2 用来检查的方法