Skip to main content

Customers Data Model

The Customers entity is the central business entity in the SureInk platform. It represents the organization or individual that has a relationship with SureInk.

Entity Relationship Diagram​

Core Entities​

Customers (com.sureink.customer.model.Customer)​

The root entity for all business operations.

  • Key Fields:
    • name: The display name of the customer.
    • code: A unique identifier used across the system (often the tenant ID).
    • accountType: Categorizes the customer (e.g., Prospect, Customer, Partner).
    • type: The license type (e.g., Trial, Paid).
    • accountOwner: The internal sales or account manager responsible for this customer.
    • instanceAdminEmail: The primary technical contact for the customer's instance.

Customer Contact (com.sureink.customer.model.CustomerContact)​

Represents individuals associated with the Customers entity.

  • Key Fields:
    • firstName / lastName: Personal details.
    • email: Primary communication channel.
    • title: Job title.
    • salesforceId: Link to the contact record in Salesforce.

Relationships​

Customers -> Customer Contact​

  • Type: One-to-Many
  • Description: A Customers entity can have multiple Contacts. These contacts are often synchronized from Salesforce.

Customers -> Customer Address​

  • Type: One-to-Many
  • Description: Stores billing, shipping, and other physical addresses for the customer.

Customers -> Customer External System​

  • Type: One-to-One
  • Description: Links the SureInk Customers record to external systems like Salesforce (Account ID) or QuickBooks (Customer ID).