package domain

import "time"

// Repository tracks Bitbucket repository metadata.
type Repository struct {
	RepoID         string    `bson:"repo_id" json:"repo_id"`
	CloneURL       string    `bson:"clone_url" json:"clone_url"`
	DefaultRef     string    `bson:"default_ref" json:"default_ref"`
	LastCommitSHA  string    `bson:"last_commit_sha" json:"last_commit_sha"`
	LastSyncAt     time.Time `bson:"last_sync_at" json:"last_sync_at"`
	Status         string    `bson:"status" json:"status"`
	UpdatedAt      time.Time `bson:"updated_at" json:"updated_at"`
}
