package entity

const CollectionName = "crm_contacts"

const (
	ContactStatusLead      = "lead"
	ContactStatusContacted = "contacted"
	ContactStatusResponded = "responded"
	ContactStatusConverted = "converted"
	ContactStatusArchived  = "archived"
)

type CRMContact struct {
	ID              string   `bson:"_id"`
	TenantID        string   `bson:"tenant_id"`
	OwnerUID        string   `bson:"owner_uid"`
	BrandID         string   `bson:"brand_id,omitempty"`
	AuthorID        string   `bson:"author_id"`
	AuthorName      string   `bson:"author_name"`
	AuthorAvatar    string   `bson:"author_avatar,omitempty"`
	AuthorFollowers int      `bson:"author_followers,omitempty"`
	ScanPostID      string   `bson:"scan_post_id,omitempty"`
	Notes           string   `bson:"notes,omitempty"`
	Tags            []string `bson:"tags,omitempty"`
	Status          string   `bson:"status"`
	OutreachCount   int      `bson:"outreach_count,omitempty"`
	LastContactedAt int64    `bson:"last_contacted_at,omitempty"`
	CreateAt        int64    `bson:"create_at"`
	UpdateAt        int64    `bson:"update_at"`
}
