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 {
|
namespace BaseData {
|
||||||
|
|
||||||
class WineType {
|
class Country {
|
||||||
|
alpha2
|
||||||
|
alpha3
|
||||||
|
numeric
|
||||||
|
name
|
||||||
|
}
|
||||||
|
|
||||||
|
class WineType {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
}
|
}
|
||||||
|
|
||||||
class WineTypeAttribute {
|
class WineTypeAttribute {
|
||||||
id
|
id
|
||||||
name
|
name
|
||||||
}
|
short
|
||||||
|
}
|
||||||
|
|
||||||
class QualityLevel {
|
class QualityLevel {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Region {
|
class Region {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
}
|
||||||
|
|
||||||
}
|
class Area {
|
||||||
|
id
|
||||||
|
name
|
||||||
|
}
|
||||||
|
|
||||||
class Area {
|
class VineyardArea {
|
||||||
|
number
|
||||||
|
name
|
||||||
|
}
|
||||||
|
|
||||||
}
|
class Municipality {
|
||||||
|
number
|
||||||
|
name
|
||||||
|
}
|
||||||
|
|
||||||
class VineyardArea {
|
class Reed {
|
||||||
|
number
|
||||||
|
name
|
||||||
|
}
|
||||||
|
|
||||||
}
|
class Bank {
|
||||||
|
country
|
||||||
class Municipality {
|
bankCode
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class Reed {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
class Bank {
|
|
||||||
bic
|
|
||||||
blz
|
|
||||||
fullName
|
fullName
|
||||||
name
|
name
|
||||||
shortName
|
|
||||||
street
|
street
|
||||||
postalCode
|
postalCode
|
||||||
city
|
city
|
||||||
|
telNr
|
||||||
|
emailAddress
|
||||||
|
website
|
||||||
|
}
|
||||||
|
|
||||||
}
|
Country -- Bank
|
||||||
|
Country -- Region
|
||||||
|
|
||||||
Region -- Area
|
Region - Area
|
||||||
Area -- VineyardArea
|
Area - VineyardArea
|
||||||
VineyardArea -- Municipality
|
VineyardArea - Municipality
|
||||||
Municipality -- Reed
|
Municipality - Reed
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace Data {
|
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
|
BillingAddress -- BaseData.Country
|
||||||
Member -- AreaCommitment
|
ContactInformation --- BaseData.Country
|
||||||
Member -- BillingAddress
|
|
||||||
|
|
||||||
|
AreaCommitment -- BaseData.WineType
|
||||||
|
AreaCommitment -- BaseData.WineTypeAttribute
|
||||||
|
AreaCommitment -- BaseData.Municipality
|
||||||
|
AreaCommitment -- BaseData.Reed
|
||||||
|
|
||||||
AreaCommitment -- BaseData.WineType
|
Delivery -- Member
|
||||||
AreaCommitment -- BaseData.WineTypeAttribute
|
Delivery -- Branch
|
||||||
|
Delivery - DeliveryPart
|
||||||
Delivery -- Member
|
DeliveryPart -- BaseData.QualityLevel
|
||||||
Delivery -- BranchOffice
|
DeliveryPart -- BaseData.WineType
|
||||||
|
DeliveryPart -- BaseData.WineTypeAttribute
|
||||||
}
|
}
|
||||||
|
|
||||||
@enduml
|
@enduml
|
||||||
|
Reference in New Issue
Block a user