<default>
ER Logical Diagram BookExpressDelivery_ER
Custom properties
erVersion:
Trinity
| Logical Attribute Summary |
| Logical Domain Container Summary |
| Logical Attribute Summary |
Attribute name :
Author
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
BookCode
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Notes
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
100
Size:
100
Primary.
Links:
erAssociationLink erAssociationLink from PK_Book to BookCode
Custom properties
erOrder:
1
Attribute name :
Price
Check:
Price > 0
Check:
Price > 0
Default.
Domain.
Logical type:
DECIMAL
Logical type:
DECIMAL
Not null.
Primary key.
Scale:
2
Scale:
2
Size:
6
Size:
6
Attribute name :
PublishDate
Check.
Default.
Domain.
Logical type:
DATE
Logical type:
DATE
Not null.
Primary key.
Scale.
Size.
Attribute name :
PublishHouse
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Quantity
Check:
Quantity>0
Check:
Quantity>0
Default.
Domain.
Logical type:
INTEGER
Logical type:
INTEGER
Not null.
Primary key.
Scale.
Size.
Attribute name :
Title
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Links:
Logical Relationship Execute
Logical Relationship relationship1
| Logical Attribute Summary |
Attribute name :
BookDeliveryCode
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
BookDeliveryStatus
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Check.
Default.
Domain.
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Check.
Default.
Domain.
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Attribute name :
CarryDate
Check.
Default.
Domain.
Logical type:
DATE
Logical type:
DATE
Not null.
Primary key.
Scale.
Size.
Primary.
Links:
erAssociationLink erAssociationLink from PK_CarrierCurrentStatus to BookDeliveryCode
Custom properties
erOrder:
1
Links:
Logical Relationship Display
| Logical Attribute Summary |
Attribute name :
BackDistance
Check.
Default.
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.
Attribute name :
BookDeliveryCode
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Check.
Default.
Domain.
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Attribute name :
CarrierStatus
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
GoDistance
Check.
Default.
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.
Attribute name :
HasTasks
Check.
Default:
false
Default:
false
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
| Logical Attribute Summary |
Attribute name :
Address
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
CompanyName
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
ContactName
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
CustomerCode
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Email
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Note
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
100
Size:
100
Attribute name :
Password
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Phone
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Primary.
Links:
erAssociationLink erAssociationLink from PK_Customer to CustomerCode
Custom properties
erOrder:
1
Attribute name :
UserName
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Not null.
Primary key.
Scale.
Size:
20
Size:
20
| Logical Attribute Summary |
Attribute name :
Active
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Address
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
CarrierCode
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
CarrierName
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Primary.
Links:
erAssociationLink erAssociationLink from PK_BookCarrier to CarrierCode
Custom properties
erOrder:
1
Attribute name :
Telephone
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
| Logical Attribute Summary |
Attribute name :
CurrentValue
Check:
CurrentValue>=0
Check:
CurrentValue>=0
Default.
Domain.
Logical type:
INTEGER
Logical type:
INTEGER
Not null.
Primary key.
Scale.
Size.
Attribute name :
ItemName
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
TableName
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Links:
Logical Relationship Reference
Cardinality:
E
Logical Relationship Include
Cardinality:
P
| Logical Attribute Summary |
Attribute name :
Amount
Check:
Amount>0
Check:
Amount>0
Default.
Domain.
Logical type:
INTEGER
Logical type:
INTEGER
Not null.
Primary key.
Scale.
Size.
Check.
Default.
Domain.
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Check.
Default.
Domain.
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Primary.
Links:
Logical Relationship Order
| Logical Attribute Summary |
Attribute name :
ActuralIncome
Check.
Default:
SumMoney*DiscountRation
Default:
SumMoney*DiscountRation
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.
Attribute name :
BookPackageCode
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Check.
Default.
Domain.
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Attribute name :
DiscountRatio
Check:
DiscountRatio>0 and DiscountRatio<=1
Check:
DiscountRatio>0 and DiscountRatio<=1
Default:
1
Default:
1
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.
Attribute name :
FinishDate
Check.
Default.
Domain.
Logical type:
DATE
Logical type:
DATE
Not null.
Primary key.
Scale.
Size.
Attribute name :
OrderedDate
Check.
Default.
Domain.
Logical type:
DATE
Logical type:
DATE
Not null.
Primary key.
Scale.
Size.
Attribute name :
OriginalSumMoney
Check.
Default.
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.
Primary.
Links:
erAssociationLink erAssociationLink from PK_PurchaseOrder to BookPackageCode
Custom properties
erOrder:
1
Attribute name :
POStatus
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
ShipDate
Check.
Default.
Domain.
Logical type:
DATE
Logical type:
DATE
Not null.
Primary key.
Scale.
Size.
Attribute name :
ShipFees
Check:
ShipFees>0
Check:
ShipFees>0
Default:
0
Default:
0
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.
Attribute name :
ShipTo
Check.
Default.
Domain.
Logical type:
VARCHAR
Logical type:
VARCHAR
Not null.
Primary key.
Scale.
Size:
20
Size:
20
Attribute name :
Sum
Check.
Default.
Domain.
Logical type:
FLOAT
Logical type:
FLOAT
Not null.
Primary key.
Scale.
Size.