feat(web/server-go): 技术员巡检记录页(#17,列表+详情+roomName)

This commit is contained in:
weijuesen
2026-08-12 18:59:18 +08:00
parent d8c4b436df
commit 42ff238e3d
6 changed files with 172 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ type InspectionRecord struct {
IdempotencyKey *string `gorm:"column:idempotency_key;size:128;uniqueIndex" json:"idempotencyKey,omitempty"`
CreatedAt time.Time `gorm:"type:timestamptz" json:"createdAt"`
UpdatedAt time.Time `gorm:"type:timestamptz" json:"updatedAt"`
RoomName *string `gorm:"-" json:"roomName,omitempty"`
}
func (InspectionRecord) TableName() string { return "inspection_records" }