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.
24 lines
619 B
C#
24 lines
619 B
C#
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);
|
|
}
|
|
}
|