Update structure
This commit is contained in:
12
gradation.md
Normal file
12
gradation.md
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
# Gradation
|
||||
|
||||
| Unit | Abbreviation | Countries |
|
||||
|-----------------------------|--------------|------------------------------------------------------|
|
||||
| Klosterneuburger Mostwaage | °KMW | Austria, Italy, Hungary, Slovakia, former Yugoslavia |
|
||||
| Oechsle | °Oe | Germany, Switzerland, Luxembourg |
|
||||
| Baumé | °Bé | France, Spain |
|
||||
| Brix | °Bx | English-speaking world |
|
||||
| Normalizovaný moštoměr | °NM | Czechia, Slovakia |
|
||||
| - | g/L | SI |
|
||||
|
@ -4,96 +4,157 @@ hide circle
|
||||
|
||||
namespace BaseData {
|
||||
|
||||
class WineType {
|
||||
id
|
||||
name
|
||||
}
|
||||
class Country {
|
||||
alpha2
|
||||
alpha3
|
||||
numeric
|
||||
name
|
||||
}
|
||||
|
||||
class WineTypeAttribute {
|
||||
id
|
||||
name
|
||||
}
|
||||
class WineType {
|
||||
id
|
||||
name
|
||||
}
|
||||
|
||||
class QualityLevel {
|
||||
class WineTypeAttribute {
|
||||
id
|
||||
name
|
||||
short
|
||||
}
|
||||
|
||||
}
|
||||
class QualityLevel {
|
||||
|
||||
class Region {
|
||||
}
|
||||
|
||||
}
|
||||
class Region {
|
||||
id
|
||||
name
|
||||
}
|
||||
|
||||
class Area {
|
||||
class Area {
|
||||
id
|
||||
name
|
||||
}
|
||||
|
||||
}
|
||||
class VineyardArea {
|
||||
number
|
||||
name
|
||||
}
|
||||
|
||||
class VineyardArea {
|
||||
class Municipality {
|
||||
number
|
||||
name
|
||||
}
|
||||
|
||||
}
|
||||
class Reed {
|
||||
number
|
||||
name
|
||||
}
|
||||
|
||||
class Municipality {
|
||||
class Bank {
|
||||
country
|
||||
bankCode
|
||||
fullName
|
||||
name
|
||||
street
|
||||
postalCode
|
||||
city
|
||||
telNr
|
||||
emailAddress
|
||||
website
|
||||
}
|
||||
|
||||
}
|
||||
Country -- Bank
|
||||
Country -- Region
|
||||
|
||||
class Reed {
|
||||
|
||||
}
|
||||
|
||||
class Bank {
|
||||
bic
|
||||
blz
|
||||
fullName
|
||||
name
|
||||
shortName
|
||||
street
|
||||
postalCode
|
||||
city
|
||||
|
||||
}
|
||||
|
||||
Region -- Area
|
||||
Area -- VineyardArea
|
||||
VineyardArea -- Municipality
|
||||
Municipality -- Reed
|
||||
Region - Area
|
||||
Area - VineyardArea
|
||||
VineyardArea - Municipality
|
||||
Municipality - Reed
|
||||
|
||||
}
|
||||
|
||||
namespace Data {
|
||||
|
||||
class Member {
|
||||
class Member {
|
||||
number
|
||||
givenName
|
||||
familyName
|
||||
contactInformation
|
||||
billingAddress
|
||||
}
|
||||
|
||||
}
|
||||
class Branch {
|
||||
|
||||
class Branch {
|
||||
}
|
||||
|
||||
}
|
||||
class AreaCommitment {
|
||||
|
||||
class AreaCommitment {
|
||||
}
|
||||
|
||||
}
|
||||
class ContactInformation {
|
||||
country
|
||||
postalCode
|
||||
city
|
||||
street
|
||||
telNr
|
||||
mobileNr
|
||||
emailAddress
|
||||
}
|
||||
|
||||
class BillingAddress {
|
||||
class BillingAddress {
|
||||
name
|
||||
country
|
||||
postalCode
|
||||
city
|
||||
street
|
||||
}
|
||||
|
||||
}
|
||||
class BankAccount {
|
||||
country
|
||||
bankCode
|
||||
accountNumber
|
||||
name
|
||||
}
|
||||
|
||||
class BankAccount {
|
||||
class Delivery {
|
||||
date
|
||||
branchId
|
||||
number
|
||||
time
|
||||
}
|
||||
|
||||
}
|
||||
class DeliveryPart {
|
||||
delivery
|
||||
weight
|
||||
gradation
|
||||
qualityLevel
|
||||
wineType
|
||||
}
|
||||
|
||||
class Delivery {
|
||||
BankAccount -- BaseData.Bank
|
||||
|
||||
}
|
||||
Member -- Branch
|
||||
Member -- AreaCommitment
|
||||
Member -- ContactInformation
|
||||
Member -- BillingAddress
|
||||
Member -- BankAccount
|
||||
Member -- BaseData.Country
|
||||
|
||||
Member -- Branch
|
||||
Member -- AreaCommitment
|
||||
Member -- BillingAddress
|
||||
BillingAddress -- BaseData.Country
|
||||
ContactInformation --- BaseData.Country
|
||||
|
||||
AreaCommitment -- BaseData.WineType
|
||||
AreaCommitment -- BaseData.WineTypeAttribute
|
||||
AreaCommitment -- BaseData.Municipality
|
||||
AreaCommitment -- BaseData.Reed
|
||||
|
||||
AreaCommitment -- BaseData.WineType
|
||||
AreaCommitment -- BaseData.WineTypeAttribute
|
||||
|
||||
Delivery -- Member
|
||||
Delivery -- BranchOffice
|
||||
|
||||
Delivery -- Member
|
||||
Delivery -- Branch
|
||||
Delivery - DeliveryPart
|
||||
DeliveryPart -- BaseData.QualityLevel
|
||||
DeliveryPart -- BaseData.WineType
|
||||
DeliveryPart -- BaseData.WineTypeAttribute
|
||||
}
|
||||
|
||||
@enduml
|
||||
|
Reference in New Issue
Block a user