package domain

import "time"

// Snapshot tracks a materialized repository snapshot.
type Snapshot struct {
	SnapshotID string    `bson:"snapshot_id" json:"snapshot_id"`
	RepoID     string    `bson:"repo_id" json:"repo_id"`
	CommitSHA  string    `bson:"commit_sha" json:"commit_sha"`
	Ref        string    `bson:"ref" json:"ref"`
	FileCount  int       `bson:"file_count" json:"file_count"`
	Status     string    `bson:"status" json:"status"`
	CreatedAt  time.Time `bson:"created_at" json:"created_at"`
}
