package entity

const CollectionName = "threads_accounts"

type Status string

const (
	StatusOpen    Status = "open"
	StatusDeleted Status = "deleted"
)

type Account struct {
	ID            string `bson:"_id"`
	TenantID      string `bson:"tenant_id"`
	OwnerUID      string `bson:"owner_uid"`
	DisplayName   string `bson:"display_name,omitempty"`
	Username      string `bson:"username,omitempty"`
	ThreadsUserID string `bson:"threads_user_id,omitempty"`
	PersonaID     string `bson:"persona_id,omitempty"`
	Status        Status `bson:"status"`
	CreateAt      int64  `bson:"create_at"`
	UpdateAt      int64  `bson:"update_at"`
}
