- 修复 health.go handler 直接操作响应的架构违规问题 - 为 model 字段添加 GORM comment 标签(account_role、base、role_permission) - 为 handler、service、store 包添加包级文档注释 - 清理 customer service 和 personal_customer handler 中注释掉的代码 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
10 lines
271 B
Go
10 lines
271 B
Go
package model
|
|
|
|
// atlas:ignore
|
|
//
|
|
// BaseModel 基础模型,包含通用字段
|
|
type BaseModel struct {
|
|
Creator uint `gorm:"column:creator;not null;comment:创建人ID" json:"creator"`
|
|
Updater uint `gorm:"column:updater;not null;comment:更新人ID" json:"updater"`
|
|
}
|