From 430d409e9edf40eb0a6b656e027555985040ca3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E8=A1=97=E9=95=BF=E5=AE=89?= Date: Thu, 30 Oct 2025 13:53:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20docs/=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83=E6=96=87=E6=A1=A3.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/后端代码规范文档.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/后端代码规范文档.md b/docs/后端代码规范文档.md index 6dbdf9a..69fd33b 100644 --- a/docs/后端代码规范文档.md +++ b/docs/后端代码规范文档.md @@ -67,3 +67,7 @@ public WeatherForecastController(IDemo demo) ``` 3. 在 Controller 方法中使用 `_demo` 调用业务逻辑方法。 + +## 4. 模型类字段使用规范 + +### 4.1 类中状态相关字段,例如:Status,返回值为sbyte。若类中有同名字段+后缀Enum,则优先使用后者,StatusEnum。