-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3131b72
commit 465a39f
Showing
10 changed files
with
20 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace FlightRecorder.Entities.Db | ||
{ | ||
[ExcludeFromCodeCoverage] | ||
public partial class Airline | ||
{ | ||
public Airline() | ||
{ | ||
Flight = new HashSet<Flight>(); | ||
} | ||
|
||
[Key] | ||
public long Id { get; set; } | ||
public string Name { get; set; } | ||
|
||
public virtual ICollection<Flight> Flight { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace FlightRecorder.Entities.Db | ||
{ | ||
[ExcludeFromCodeCoverage] | ||
public partial class Location | ||
{ | ||
public Location() | ||
{ | ||
Sighting = new HashSet<Sighting>(); | ||
} | ||
|
||
[Key] | ||
public long Id { get; set; } | ||
public string Name { get; set; } | ||
|
||
public virtual ICollection<Sighting> Sighting { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,13 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace FlightRecorder.Entities.Db | ||
{ | ||
[ExcludeFromCodeCoverage] | ||
public partial class Manufacturer | ||
{ | ||
public Manufacturer() | ||
{ | ||
Model = new HashSet<Model>(); | ||
} | ||
|
||
[Key] | ||
public long Id { get; set; } | ||
public string Name { get; set; } | ||
|
||
public virtual ICollection<Model> Model { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,16 @@ | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.ComponentModel.DataAnnotations; | ||
using System.Diagnostics.CodeAnalysis; | ||
|
||
namespace FlightRecorder.Entities.Db | ||
{ | ||
[ExcludeFromCodeCoverage] | ||
public partial class Model | ||
{ | ||
public Model() | ||
{ | ||
Aircraft = new HashSet<Aircraft>(); | ||
} | ||
|
||
[Key] | ||
public long Id { get; set; } | ||
public long ManufacturerId { get; set; } | ||
public string Name { get; set; } | ||
|
||
public virtual Manufacturer Manufacturer { get; set; } | ||
public virtual ICollection<Aircraft> Aircraft { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters