module crm import base import freeflowuniverse.herolib.data.ourtime // Account represents a business or organization. // Enums like AccountType and AccountIndustry have been removed for broader applicability. // Fields previously using these enums now use `string` type. pub struct Account { base.Base // Base struct for common fields pub mut: name string typ string // Type of account (e.g., Customer, Partner) - formerly AccountType enum industry string // Industry of the account (e.g., Technology, Healthcare) - formerly AccountIndustry enum employees u32 annual_revenue f64 billing_street string billing_city string billing_state string billing_postal_code string billing_country string shipping_street string shipping_city string shipping_state string shipping_postal_code string shipping_country string description string assigned_user_id u32 // Reference to User created_by_id u32 // Reference to User primary_contact_id u32? // Optional: Reference to Contact }