Skip to content

Instantly share code, notes, and snippets.

@sgissinger sgissinger/MCD.puml
Created Nov 8, 2018

Embed
What would you like to do?
PlantUML with customizations
@startuml
!define table(x) class x << (T,#FFAAAA) >>
!define view(x) class x << (V,#33CCFF) >>
!define pk(x) +<u>x</u>
!define fk(x,y) ~x <i>references y</i>
!define pkfk(x,y) -<u>x</u> <i>references y</i>
hide methods
hide stereotypes
skinparam shadowing false
table(D_PRODUCT < Produit >) {
pk(ITEM_KEY)
ITEM_DESC
PRD_BO_2_IN_KEY
BARCODE
}
table(D_CPCE_LINE) {
pkfk(PRD_BO_2_IN_KEY, D_PRODUCT)
pkfk(BARCODE, D_PRODUCT)
pk(BEG_DATE_KEY)
CPCE_XTAX
CPCE_XTVA
CPCE_WTAX
CPCE_INC_XTAX
CPCE_INC_XTVA
CPCE_INC_WTAX
}
table(OPC_CPCE_LINE) {
pkfk(PRD_BO_2_IN_KEY, D_PRODUCT)
pkfk(BARCODE, D_PRODUCT)
pk(BEG_DATE_KEY)
MAN_CPCE_XTAX
MAN_CPCE_XTVA
MAN_CPCE_WTAX
MAN_CPCE_INC_XTAX
MAN_CPCE_INC_XTVA
MAN_CPCE_INC_WTAX
}
view(G_CPCE_LINE) {
pkfk(PRD_BO_2_IN_KEY, D_PRODUCT)
pkfk(BARCODE, D_PRODUCT)
pk(BEG_DATE_KEY)
CPCE_XTAX
CPCE_XTVA
CPCE_WTAX
CPCE_INC_XTAX
CPCE_INC_XTVA
CPCE_INC_WTAX
}
D_PRODUCT -- D_CPCE_LINE
D_PRODUCT -- OPC_CPCE_LINE
D_CPCE_LINE --* G_CPCE_LINE
OPC_CPCE_LINE --* G_CPCE_LINE
@sgissinger

This comment has been minimized.

Copy link
Owner Author

sgissinger commented Nov 8, 2018

plantuml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.