Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CodySchrank committed Feb 16, 2020
1 parent 7931b71 commit 852f6d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ _PathStyle_ (default is folders stay the same and files become camelCase) if set
```C#
using System.Collections.Generic;
using Example.Resources.Parts;
using Example.Resources.Parts.Unit;

namespace Example.Resources.Vehicles
{
Expand All @@ -60,7 +61,7 @@ namespace Example.Resources.Vehicles
public string Make { get; set; }
public string Model { get; set; }
public int? Mileage;
public Dictionary<string, string> Options { get; set; }
public Dictionary<string, Units> Options { get; set; }
public VehicleState Condition { get; set; } // this is an enum of type int
public virtual ICollection<Part> Parts { get; set; }
public IList<Part> SpareParts { get; set; } = new List<Part>();
Expand All @@ -74,6 +75,7 @@ namespace Example.Resources.Vehicles
/* Auto Generated */

import { Entity } from "./../entity";
import { Units } from "./../Parts/Unit/units";
import { VehicleState } from "./vehicleState";
import { Part } from "./../Parts/part";

Expand All @@ -82,11 +84,12 @@ export interface Vehicle extends Entity {
make: string;
model: string;
mileage?: number;
options: any;
options: Record<string, Units>;
condition: VehicleState;
parts: Part[];
spareParts: Part[];
}

```

## Types
Expand Down

0 comments on commit 852f6d2

Please sign in to comment.