Skip to content

Commit

Permalink
Add Headway.RemediatR.csproj #52
Browse files Browse the repository at this point in the history
Add Headway.RemediatR.csproj #52
  • Loading branch information
grantcolley committed May 29, 2022
1 parent ebd4f08 commit 0f26d61
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Headway.RemediatR/Headway.RemediatR.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

</Project>
18 changes: 18 additions & 0 deletions src/Headway.RemediatR/Model/Customer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
namespace Headway.RemediatR.Model
{
public class Customer
{
public int CustomerId { get; set; }
public string? FirstName { get; set; }
public string? Surname { get; set; }
public string? Telephone { get; set; }
public string? Email { get; set; }
public string? Address1 { get; set; }
public string? Address2 { get; set; }
public string? Address3 { get; set; }
public string? Address4 { get; set; }
public string? Address5 { get; set; }
public string? Country { get; set; }
public string? PostCode { get; set; }
}
}
8 changes: 8 additions & 0 deletions src/Headway.RemediatR/Model/Flow.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Headway.RemediatR.Model
{
public class Flow
{
public int FlowId { get; set; }
public string Name { get; set; }
}
}
8 changes: 8 additions & 0 deletions src/Headway.RemediatR/Model/Product.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace Headway.RemediatR.Model
{
public class Product
{
public int ProductId { get; set; }
public string Name { get; set; }
}
}
9 changes: 9 additions & 0 deletions src/Headway.RemediatR/Model/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
namespace Headway.RemediatR.Model
{
public class Program
{
public int ProgramId { get; set; }
public string Name { get; set; }
public Flow Flow { get; set; }
}
}
15 changes: 15 additions & 0 deletions src/Headway.RemediatR/Model/Redress.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
namespace Headway.RemediatR.Model
{
public class Redress
{
public Redress()
{
Products = new List<Product>();
}

public int RedressId { get; set; }
public Customer? Customer { get; set; }
public Program? Program { get; set; }
public List<Product> Products { get; set; }
}
}
6 changes: 6 additions & 0 deletions src/Headway.sln
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Headway.RequestApi", "Headw
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Headway.SeedData", "Utilities\Headway.SeedData\Headway.SeedData.csproj", "{187264DE-EC5E-45D2-895D-9930F294E3EA}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Headway.RemediatR", "Headway.RemediatR\Headway.RemediatR.csproj", "{923EF260-4956-4BC3-A8E1-BA2CCC30D89A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -89,6 +91,10 @@ Global
{187264DE-EC5E-45D2-895D-9930F294E3EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{187264DE-EC5E-45D2-895D-9930F294E3EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{187264DE-EC5E-45D2-895D-9930F294E3EA}.Release|Any CPU.Build.0 = Release|Any CPU
{923EF260-4956-4BC3-A8E1-BA2CCC30D89A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{923EF260-4956-4BC3-A8E1-BA2CCC30D89A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{923EF260-4956-4BC3-A8E1-BA2CCC30D89A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{923EF260-4956-4BC3-A8E1-BA2CCC30D89A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 0f26d61

Please sign in to comment.