VSCode/法务开发文档/开发文档.md

14 lines
647 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 一、开发规范
### 1、MySQL数据库规范
**命名规范**数据库表的命名全部采用下划线分割法命名字段属性名也采用下划线分割法例如create_timephone_num等。
**字段属性规范**
1. id类字段统一采用bigint数据类型长度20。
2. type类标志字段统一采用int数据类型长度11。
3. time类字段统一采用datetime数据类型。
4. 其他字段统一采用varchar数据类型长度自定。
5. 所有字段都要在注释后面写该字段代表的属性含义,并且英文命名要便于理解,尽量使用具体的英文单词,避免自己造词。