feat(web/server-go): 技术员巡检记录页(#17,列表+详情+roomName)
This commit is contained in:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user