- 新增「简记memo」一体化小程序产品原型设计文档 - 新增简记memo完整版UI视觉设计规范和界面细节 - 添加IDEA项目配置文件.gitignore - 创建404页面HTML文件,包含响应式布局和错误提示 - 添加关于页面HTML文件,展示品牌介绍和团队信息 - 实现AES加解密工具函数,支持请求体加密 - 添加用户协议页面基础框架
20 lines
711 B
Go
20 lines
711 B
Go
// 复盘表:sm_review
|
|
package models
|
|
|
|
import "gorm.io/gorm"
|
|
|
|
// Review 复盘记录(KPT 法)
|
|
type Review struct {
|
|
gorm.Model
|
|
UserID uint `gorm:"column:user_id;type:bigint unsigned;default:0;index;comment:用户ID" json:"user_id" db:"user_id"`
|
|
Date string `gorm:"column:date;type:varchar(10);uniqueIndex:idx_user_date;comment:日期 yyyy-MM-dd" json:"date" db:"date"`
|
|
// KPT 法
|
|
Keep string `gorm:"column:keep;type:text;comment:保持" json:"keep" db:"keep"`
|
|
Problem string `gorm:"column:problem;type:text;comment:问题" json:"problem" db:"problem"`
|
|
Try string `gorm:"column:try;type:text;comment:尝试" json:"try" db:"try"`
|
|
}
|
|
|
|
func (Review) TableName() string {
|
|
return "sm_review"
|
|
}
|