package forms

import "google.golang.org/protobuf/types/known/timestamppb"

type Project struct {
	ID    uint64 `json:"id,string"`
	OrgId uint64 `json:"org_id,string"`

	Name                string                 `json:"name"`
	UserCount           uint64                 `json:"user_count"`
	ActiveClustersCount uint64                 `json:"active_clusters_count"`
	AwsCmekEnabled      bool                   `json:"aws_cmek_enabled"`
	CreatedAt           *timestamppb.Timestamp `json:"created_at"`
}

type GetOrgProjectsReq struct {
	Pager
}

type GetOrgProjectsResp struct {
	Total uint64     `json:"total"`
	Items []*Project `json:"items"`
}
