package api

import (
	"github.com/pingcap/schrodinger/pkg/types"
)

// ExperimentSummary is experiment summary
type ExperimentSummary struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`

	Ctime     string `json:"create_time"`
	Utime     string `json:"update_time"`
	StartTime string `json:"start_time"`
	EndTime   string `json:"end_time"`

	State      types.ExperimentState `json:"status"`
	Stage      types.ExperimentStage `json:"stage"`
	CatState   types.CatState        `json:"cat_status"`
	Author     string                `json:"author"`
	Annotation string                `json:"annotation"`
	Destroyed  bool                  `json:"destroyed"`
}
