Skip to content

Instantly share code, notes, and snippets.

@petecheslock
Created July 22, 2024 14:48
Show Gist options
  • Save petecheslock/cfa7b671512742d6e60828ac123f9403 to your computer and use it in GitHub Desktop.
Save petecheslock/cfa7b671512742d6e60828ac123f9403 to your computer and use it in GitHub Desktop.
classDiagram
  direction LR

  class Application {
    +int id
    +String name
    +String description
    +String assetCode
    +String parentAssetCode
  }

  class AssessmentDefinition {
    +int id
    +String name
    +String description
    +String ratingSchemeId
  }

  class AssessmentRating {
    +int id
    +int assessmentDefinitionId
    +int entityId
    +String entityKind
    +int rating
  }

  class ChangeLog {
    +int id
    +Date date
    +String username
    +String operation
    +text message
  }

  class LogicalFlow {
    +int id
    +int sourceEntityId
    +int targetEntityId
    +String sourceEntityKind
    +String targetEntityKind
  }

  Application "1" -- "1..*" AssessmentRating : evaluatedBy
  AssessmentDefinition "1" -- "1..*" AssessmentRating : defines
  Application "1" -- "1..*" LogicalFlow : containsSource
  Application "1" -- "1..*" LogicalFlow : containsTarget
  Application "1" -- "1..*" ChangeLog : has
  LogicalFlow "1" -- "1" ChangeLog : records
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment