feat: Initialize Strata KitchenSink application boilerplate
This sets up the foundational structure for a .NET Core 6 / React project, demonstrating common architectural patterns, Docker integration, and key Strata libraries for API, data access (EF Core), background jobs (Hangfire), real-time communication (SignalR), and various frontend UI components.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace Strata.KitchenSink.Biz.Departments
|
||||
{
|
||||
internal class DepartmentExport
|
||||
{
|
||||
public string DepartmentCode { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string DepartmentType { get; set; }
|
||||
|
||||
public DepartmentExport()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public DepartmentExport(Department x)
|
||||
{
|
||||
DepartmentCode = x.DepartmentCode;
|
||||
Description = x.Description;
|
||||
DepartmentType = x.DepartmentType.ToString();
|
||||
}
|
||||
|
||||
public static explicit operator DepartmentExport(Department x) => new DepartmentExport(x);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user