erDiagram
    direction TB

    CUSTOMER:::someclass ,  someclass ||--o{ ORDER:::someclass
          : places
    CUSTOMER <beginfold id='1'>{</beginfold id='1'>
        string name
        string custNumber
        string sector
    <endfold id='1'>}</endfold id='1'>

    ORDER ||--|{ LINE-ITEM :
         contains
    ORDER["sdsds"]:::someclass <beginfold id='1'>{</beginfold id='1'>
        int orderNumber
        string deliveryAddress
    <endfold id='1'>}</endfold id='1'>
    LINE-ITEM[plop] <beginfold id='1'>{</beginfold id='1'>
        string(ds) productCode PK  ,  FK,PK
            "Dsds"
        *int[dsds] *quantity
              PK"The license #"
        _float pricePerUnit"Only 99 characters are allowed"
        %% 2 fields
        a b c
    <beginfold id='1'>}</beginfold id='1'>

    CAR
      1
        to
          zero or more
        NAMED-DRIVER : allows
    PERSON
      many(0)
         optionally to
           0+
             NAMED-DRIVER : is


    style CAR,LINE-ITEM fill:#f9f,stroke:#333,stroke-width:4px

    classDef someclass fill:#f96
    classDef default stroke-width:1px;
