Files
History_Api/internal/dtos/response/battle_replay.go
AzenKain 374c3b4f47
All checks were successful
Build and Release / release (push) Successful in 1m32s
feat: implement battle replay module with database migrations, repository, and CRUD service endpoints
2026-05-17 22:25:48 +07:00

18 lines
580 B
Go

package response
import (
"encoding/json"
"time"
)
type BattleReplayResponse struct {
ID string `json:"id"`
GeometryID string `json:"geometry_id"`
ProjectID string `json:"project_id"`
TargetGeometryIDs json.RawMessage `json:"target_geometry_ids,omitempty"`
Detail json.RawMessage `json:"detail,omitempty"`
IsDeleted bool `json:"is_deleted,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}