Skip to content
AutoCore1.0.0-rc.1 · Release Candidate
1.0.0-rc.1 · Release Candidate2 min read

Listing Domain Model

Learn how AutoCore connects a listing to its seller, dealer, catalog, location, media, and public search context.

A listing is the marketplace record that combines a seller context with a catalog-validated vehicle description, price, location, lifecycle state, media, and buyer-facing interactions.

Core relationships

RelationshipMeaning
Listing → UserRequired seller owner; deleting the user cascades according to the schema boundary.
Listing → DealerProfileOptional dealer attribution, verified through active membership when created.
Listing → CatalogRequired category, brand, and model; generation, trim, engine, and lookup attributes may be optional.
Listing → LocationRequired city and optional district.
Listing → MediaAssetZero or more assets; the cover URL is a denormalized rendering aid.
Listing → InteractionsFavorites, conversations, reports, price history, and promotion relationships.

Stored facts

The current model includes title, description, price and currency, year, mileage, condition, optional engine/power/color and damage facts, contact visibility, publication timestamps, and soft deletion. vin is stored on the listing model but is not included in the search document.

Ownership and public meaning

The seller user owns the listing record. A dealer profile can provide the seller context without replacing the user identity. Public detail reads select active, non-deleted listings; draft, rejected, and other non-public states are not publicly visible through the public detail boundary.

Related articles