Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 1.72 KB

File metadata and controls

69 lines (57 loc) · 1.72 KB

CosmicWorks.Models models library

CosmicWorks is an open source set of tools and libraries to generate data quickly for your proof of concept or sample applications.

Overview

Contains model classes for various items created by other CosmicWorks tools.

💡 The CosmicWorks sample data is partially derived from AdventureWorksLT.

Data schemas

Here's schemas for the data generated by using this tool:

Products

classDiagram
    direction RL
    class Product {
        +string name
        +string description
        +string category
        +string subCategory
        +string sku
        +List~string~ tags
        +decimal price
        +integer quantity
        +boolean clearance
        +string type = "Product"
    }
Loading

Employees

classDiagram
    direction RL
    Employee "1" --o "1" Name
    Employee "1" --o "0..*" Address
    class Employee {
        +Name name
        +List~Address~ addresses
        +string company$
        +string department$
        +string emailAddress
        +string phoneNumber
        +string territory$
        +string type = "Employee"
    }
    class Name {
        +string first
        +string last
    }
    class Address {
        +string name
        +string street
        +string city
        +string state
        +string zipCode
        +string type
    }
Loading

Related