feat(expiry): 完成 #20 模块目录与健康路由
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package expiry
|
||||
|
||||
import "time"
|
||||
|
||||
// ExpiryItem 表示保质期物品。
|
||||
// 详细字段会在后续 issue 中完善。
|
||||
type ExpiryItem struct {
|
||||
ID uint `json:"id"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
// ExpiryUserSettings 表示用户提醒设置。
|
||||
// 详细字段会在后续 issue 中完善。
|
||||
type ExpiryUserSettings struct {
|
||||
ID uint `json:"id"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user